Re: rsi: rsi_91x_ps: remove redundant code in str_psstate

From: Kalle Valo
Date: Thu Nov 09 2017 - 21:37:01 EST


"Gustavo A. R. Silva" <garsilva@xxxxxxxxxxxxxx> wrote:

> "INVALID_STATE" is already being returned in the default case and this
> code cannot be reached.
>
> Addresses-Coverity-ID: 1398384
> Signed-off-by: Gustavo A. R. Silva <garsilva@xxxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

4775ae7afec6 rsi: rsi_91x_ps: remove redundant code in str_psstate

--
https://patchwork.kernel.org/patch/10044571/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches