rtlwifi: rtl8821ae: remove set but not used variable 'type' in translate_rx_signal_stuff
authorYueHaibing <yuehaibing@huawei.com>
Thu, 6 Dec 2018 12:06:08 +0000 (12:06 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 13 Dec 2018 15:04:09 +0000 (17:04 +0200)
commite3e454b7047a8bb11c0311ab1708e040481a6044
treee82fdc12c8f266694a90c93cc56a02563cc99666
parentafbb1947db94eacc5a13302eee88a9772fb78935
rtlwifi: rtl8821ae: remove set but not used variable 'type' in translate_rx_signal_stuff

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

drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c: In function 'translate_rx_signal_stuff':
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c:309:6: warning:
 variable 'type' set but not used [-Wunused-but-set-variable]

It never used since commit 21e4b0726dc6 ("rtlwifi: rtl8821ae: Move driver from
staging to regular tree")

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