Re: [next] rtlwifi: btcoexist: remove redundant variable fw_ps_state

From: Kalle Valo
Date: Tue Jan 16 2018 - 10:59:47 EST


Colin Ian King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable fw_ps_state is assigned a value but it is never read, hence
> it is redundant and can be removed.
>
> Cleans up clang warning:
> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c:736:2:
> warning: Value stored to 'fw_ps_state' is never read
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Acked-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

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

7e2c49222b4e rtlwifi: btcoexist: remove redundant variable fw_ps_state

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

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