OSDN Git Service

rtlwifi: btcoexist: remove redundant variable fw_ps_state
authorColin Ian King <colin.king@canonical.com>
Tue, 9 Jan 2018 16:43:29 +0000 (16:43 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 16 Jan 2018 15:59:13 +0000 (17:59 +0200)
commit7e2c49222b4e26590d68578ec8fec0988859c218
tree454c3b2c9797e5dda987f5014fbacb4a881d7af4
parent79d891c1bbb6573cef31dbc2030fba61cfa1df6d
rtlwifi: btcoexist: remove redundant variable fw_ps_state

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@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c