ath9k: Remove pointless ath9k_ps_restore() in ath_detach()
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 15 Jul 2009 00:17:12 +0000 (20:17 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:18 +0000 (15:05 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c

index 46f4a69..90cecce 100644 (file)
@@ -1286,7 +1286,6 @@ void ath_detach(struct ath_softc *sc)
 
        ath9k_hw_detach(sc->sc_ah);
        ath9k_exit_debug(sc);
-       ath9k_ps_restore(sc);
 }
 
 static int ath9k_reg_notifier(struct wiphy *wiphy,