aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-01-12 21:10:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-01-13 14:50:05 -0500
commit9d89cadd39f78eb4dd70d522dc3fd17b3c41de58 (patch)
treeab34454a46a7911ab2b82b35ce210ae588de5405 /drivers/net/wireless/ath/ath9k
parent350e2dcb4647d144000db1505c94d586fcd57919 (diff)
ath9k: Remove debug print in ISR
There is no need to do this and we can avoid an unused variable warning when CONFIG_ATH9K_WOW is not selected. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 07fcf1609726..ca8aff1aec94 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -542,7 +542,6 @@ irqreturn_t ath_isr(int irq, void *dev)
542 542
543 struct ath_softc *sc = dev; 543 struct ath_softc *sc = dev;
544 struct ath_hw *ah = sc->sc_ah; 544 struct ath_hw *ah = sc->sc_ah;
545 struct ath_common *common = ath9k_hw_common(ah);
546 enum ath9k_int status; 545 enum ath9k_int status;
547 u32 sync_cause = 0; 546 u32 sync_cause = 0;
548 bool sched = false; 547 bool sched = false;
@@ -603,7 +602,6 @@ irqreturn_t ath_isr(int irq, void *dev)
603#ifdef CONFIG_ATH9K_WOW 602#ifdef CONFIG_ATH9K_WOW
604 if (status & ATH9K_INT_BMISS) { 603 if (status & ATH9K_INT_BMISS) {
605 if (atomic_read(&sc->wow_sleep_proc_intr) == 0) { 604 if (atomic_read(&sc->wow_sleep_proc_intr) == 0) {
606 ath_dbg(common, ANY, "during WoW we got a BMISS\n");
607 atomic_inc(&sc->wow_got_bmiss_intr); 605 atomic_inc(&sc->wow_got_bmiss_intr);
608 atomic_dec(&sc->wow_sleep_proc_intr); 606 atomic_dec(&sc->wow_sleep_proc_intr);
609 } 607 }