Remove the remnants of the powerhooks.
This commit is contained in:
parent
356cc80ff6
commit
b558d4b56c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ath.c,v 1.96 2007/12/14 02:46:49 dyoung Exp $ */
|
||||
/* $NetBSD: ath.c,v 1.97 2007/12/22 00:41:01 dyoung Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
|
||||
@ -41,7 +41,7 @@
|
||||
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
|
||||
#endif
|
||||
#ifdef __NetBSD__
|
||||
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.96 2007/12/14 02:46:49 dyoung Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.97 2007/12/22 00:41:01 dyoung Exp $");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -701,7 +701,6 @@ ath_detach(struct ath_softc *sc)
|
||||
ath_hal_detach(sc->sc_ah);
|
||||
if_detach(ifp);
|
||||
splx(s);
|
||||
powerhook_disestablish(sc->sc_powerhook);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: athvar.h,v 1.22 2007/12/09 20:27:57 jmcneill Exp $ */
|
||||
/* $NetBSD: athvar.h,v 1.23 2007/12/22 00:41:02 dyoung Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
|
||||
@ -290,7 +290,6 @@ struct ath_softc {
|
||||
HAL_NODE_STATS sc_halstats; /* station-mode rssi stats */
|
||||
struct callout sc_scan_ch; /* callout handle for scan */
|
||||
struct callout sc_dfs_ch; /* callout handle for dfs */
|
||||
void *sc_powerhook; /* power management hook */
|
||||
u_int sc_flags; /* misc flags */
|
||||
};
|
||||
#define sc_if sc_ec.ec_if
|
||||
|
Loading…
Reference in New Issue
Block a user