Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cedc7e3d authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by John W. Linville
Browse files

ath9k: remove the unlikely check for autosleep



newer chipsets support auto sleep feature, so remove the
unlikely check which does not seems to help anything

Signed-off-by: default avatarMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b84628eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);