ath9k: remove set but not used variable 'acq'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 25 Feb 2019 03:32:46 +0000 (03:32 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Feb 2019 13:09:00 +0000 (15:09 +0200)
commit03af21d6ba35e2a95797fc12a3b479856bacc379
tree5d3f05474ca687c5a2a3d9b4265c0e851097acbe
parentd0480d4326e208abd7222803a4d8230d445803ea
ath9k: remove set but not used variable 'acq'

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

drivers/net/wireless/ath/ath9k/recv.c: In function 'ath_rx_count_airtime':
drivers/net/wireless/ath/ath9k/recv.c:1010:18: warning:
 variable 'acq' set but not used [-Wunused-but-set-variable]

It's not used after 89cea7493a34 ("ath9k: Switch to mac80211 TXQ scheduling
and airtime APIs"). Also remove related variables.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/recv.c