diff options
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r-- | sys/dev/ic/ath.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index bc57aaa0f92..20376840e92 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.81 2009/07/31 11:18:09 blambert Exp $ */ +/* $OpenBSD: ath.c,v 1.82 2009/08/10 20:29:54 deraadt Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -427,9 +427,6 @@ ath_attach(u_int16_t devid, struct ath_softc *sc) /* * Make sure the interface is shutdown during reboot. */ - sc->sc_sdhook = shutdownhook_establish(ath_shutdown, sc); - if (sc->sc_sdhook == NULL) - printf(": WARNING: unable to establish shutdown hook\n"); sc->sc_powerhook = powerhook_establish(ath_power, sc); if (sc->sc_powerhook == NULL) printf(": WARNING: unable to establish power hook\n"); @@ -484,8 +481,6 @@ ath_detach(struct ath_softc *sc, int flags) splx(s); if (sc->sc_powerhook != NULL) powerhook_disestablish(sc->sc_powerhook); - if (sc->sc_sdhook != NULL) - shutdownhook_disestablish(sc->sc_sdhook); #ifdef __FreeBSD__ ATH_TXBUF_LOCK_DESTROY(sc); ATH_TXQ_LOCK_DESTROY(sc); @@ -552,14 +547,6 @@ ath_resume(struct ath_softc *sc, int why) } } -void -ath_shutdown(void *arg) -{ - struct ath_softc *sc = arg; - - ath_stop(&sc->sc_ic.ic_if); -} - int ath_intr(void *arg) { |