rtlwifi: rtl8723be: Remove set but not used variable 'b_last_is_cur_rdlstate'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 27 Feb 2019 02:23:21 +0000 (02:23 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 28 Feb 2019 08:39:20 +0000 (10:39 +0200)
commitf321505656018a389fdf2dc261af4beda2cf9cfd
treef370fcfb473e29628a10e03d6c2fda831aaabeec
parent34e022d8b780a03902d82fb3997ba7c7b1f40c81
rtlwifi: rtl8723be: Remove set but not used variable 'b_last_is_cur_rdlstate'

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

drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c: In function 'rtl8723be_dm_check_edca_turbo':
drivers/net/wireless/realtek/rtlwifi/rtl8723be/dm.c:998:7: warning:
 variable 'b_last_is_cur_rdlstate' 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/rtl8723be/dm.c