diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-25 22:43:32 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-05-28 15:37:10 +0300 |
commit | 3e42a66dfd15532792cfda8e6b5791e8d28d52b0 (patch) | |
tree | 697a14651725eab4eda2755d6ee26485a35f9cee /drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c | |
parent | f7fbb03f2169c1a4aae227bc21965b0579e0faf4 (diff) |
rtlwifi: rtl8821ae: Remove set but not used variables 'cur_txokcnt' and 'b_last_is_cur_rdl_state'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function rtl8821ae_dm_check_rssi_monitor:
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:658:6: warning: variable cur_txokcnt set but not used [-Wunused-but-set-variable]
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function rtl8821ae_dm_check_edca_turbo:
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2657:7: warning: variable b_last_is_cur_rdl_state set but not used [-Wunused-but-set-variable]
They are never used so can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c')
0 files changed, 0 insertions, 0 deletions