summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-10-08 06:53:17 +0000
committerimp <imp@FreeBSD.org>2005-10-08 06:53:17 +0000
commit623046a75fbd52505c061fea4b0ea5061cea0f3c (patch)
treefaca131d272596f70b2344bb4c394f5e925475e8 /sys
parent1fddd6361f55f1efc4a923978b92de6866daa6ef (diff)
downloadFreeBSD-src-623046a75fbd52505c061fea4b0ea5061cea0f3c.zip
FreeBSD-src-623046a75fbd52505c061fea4b0ea5061cea0f3c.tar.gz
MFP4: We no longer use intr_handlers, so remove it.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pccbb/pccbb.c3
-rw-r--r--sys/dev/pccbb/pccbbvar.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index 6b39e7d..c94d4e9 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 9e159a8..6141cac 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 *);
OpenPOWER on IntegriCloud