diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-10-08 06:53:17 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-10-08 06:53:17 +0000 |
commit | f1abc0ea53816bebd3aa3ee85f5fd8456825d73f (patch) | |
tree | faca131d272596f70b2344bb4c394f5e925475e8 /sys/dev/pccbb | |
parent | ed448ee4de5f8c7cb4d8ffff46d486128774332d (diff) | |
download | src-f1abc0ea53816bebd3aa3ee85f5fd8456825d73f.tar.gz src-f1abc0ea53816bebd3aa3ee85f5fd8456825d73f.zip |
MFP4: We no longer use intr_handlers, so remove it.
Notes
Notes:
svn path=/head/; revision=151079
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r-- | sys/dev/pccbb/pccbb.c | 3 | ||||
-rw-r--r-- | sys/dev/pccbb/pccbbvar.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index 6b39e7da46a6..c94d4e9406e8 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -389,7 +389,6 @@ cbb_setup_intr(device_t dev, device_t child, struct resource *irq, free(ih, M_DEVBUF); return (err); } - STAILQ_INSERT_TAIL(&sc->intr_handlers, ih, entries); cbb_enable_func_intr(sc); sc->flags |= CBB_CARD_OK; return 0; @@ -400,7 +399,6 @@ cbb_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) { struct cbb_intrhand *ih; - struct cbb_softc *sc = device_get_softc(dev); int err; /* XXX Need to do different things for ISA interrupts. */ @@ -409,7 +407,6 @@ cbb_teardown_intr(device_t dev, device_t child, struct resource *irq, ih->cookie); if (err != 0) return (err); - STAILQ_REMOVE(&sc->intr_handlers, ih, cbb_intrhand, entries); free(ih, M_DEVBUF); return (0); } diff --git a/sys/dev/pccbb/pccbbvar.h b/sys/dev/pccbb/pccbbvar.h index 9e159a8fd301..6141cacd10c4 100644 --- a/sys/dev/pccbb/pccbbvar.h +++ b/sys/dev/pccbb/pccbbvar.h @@ -84,7 +84,6 @@ struct cbb_softc { #define CB_TOPIC97 8 /* Toshiba ToPIC97/100 */ #define CB_O2MICRO 9 /* O2Micro chips */ SLIST_HEAD(, cbb_reslist) rl; - STAILQ_HEAD(, cbb_intrhand) intr_handlers; device_t cbdev; struct proc *event_thread; void (*chipinit)(struct cbb_softc *); |