rtlwifi: rtl8192cu: remove set but not used variable 'turbo_scanoff'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 23 Apr 2019 14:32:14 +0000 (22:32 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Apr 2019 11:58:53 +0000 (14:58 +0300)
commita0656c6ec2fda34da08e7f8a917baf6e0698ee42
tree7ec84796430caa9cf92392296f290a358298df6f
parent0b2ff1ff64c88eeca2494f2b02cade39e9cd15b2
rtlwifi: rtl8192cu: remove set but not used variable 'turbo_scanoff'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c: In function 'rtl92cu_phy_rf6052_set_cck_txpower':
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c:45:7: warning: variable 'turbo_scanoff' set but not used [-Wunused-but-set-variable]

It is not used any more since
commit e9b0784bb9de ("rtlwifi: rtl8192cu: Fix some code in RF handling")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c