diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2015-01-30 16:35:28 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-02-03 16:31:05 +0300 |
commit | c4d0975bba51ac339727703123cfca8034c1aeb3 (patch) | |
tree | da006c72da23970220d494edc5c34863b6b108d1 /drivers/net/wireless/ath/ath9k/main.c | |
parent | 249943a2215c4d03c5dacf549b4ef9bf8439f17b (diff) | |
download | linux-c4d0975bba51ac339727703123cfca8034c1aeb3.tar.xz |
ath9k: Remove unused BMISS processing
The various variables tracking bmiss interrupts
are not really used anywhere except in a debug
message. Remove them since they have no functional
purpose.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 9a72640237cb..98b1e4aa1506 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c @@ -556,15 +556,6 @@ irqreturn_t ath_isr(int irq, void *dev) (status & ATH9K_INT_BB_WATCHDOG)) goto chip_reset; -#ifdef CONFIG_ATH9K_WOW - if (status & ATH9K_INT_BMISS) { - if (atomic_read(&sc->wow_sleep_proc_intr) == 0) { - atomic_inc(&sc->wow_got_bmiss_intr); - atomic_dec(&sc->wow_sleep_proc_intr); - } - } -#endif - if (status & ATH9K_INT_SWBA) tasklet_schedule(&sc->bcon_tasklet); |