ath9k: remove the unlikely check for autosleep
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Fri, 22 Apr 2011 07:42:23 +0000 (13:12 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Apr 2011 18:50:19 +0000 (14:50 -0400)
newer chipsets support auto sleep feature, so remove the
unlikely check which does not seems to help anything

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c

index abff2d5..916b340 100644 (file)
@@ -1742,7 +1742,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp)
                if ((sc->ps_flags & (PS_WAIT_FOR_BEACON |
                                              PS_WAIT_FOR_CAB |
                                              PS_WAIT_FOR_PSPOLL_DATA)) ||
-                                       unlikely(ath9k_check_auto_sleep(sc)))
+                                               ath9k_check_auto_sleep(sc))
                        ath_rx_ps(sc, skb);
                spin_unlock_irqrestore(&sc->sc_pm_lock, flags);