rtlwifi: rtl8723ae: Remove set but not used variable 'bt_retry_cnt'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 27 Feb 2019 02:23:34 +0000 (02:23 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 28 Feb 2019 08:39:46 +0000 (10:39 +0200)
commit85c6ac33c87c44893ddc561dfd0a8bdc9ec68cd5
treeb19a606e043e3ca2e8c97cf98f42ae745fd49c16
parentf321505656018a389fdf2dc261af4beda2cf9cfd
rtlwifi: rtl8723ae: Remove set but not used variable 'bt_retry_cnt'

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

drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c: In function '_rtl8723e_dm_bt_coexist_2_ant':
drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c:1408:5: warning:
 variable 'bt_retry_cnt' set but not used [-Wunused-but-set-variable]

It's never used and can be removed.

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