diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-24 15:50:45 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-24 15:50:45 +0000 |
commit | 12d0b513950a3e41089b1128b472689c689d4175 (patch) | |
tree | faf8ef049f3ed448c1e95168fa91ad04a86af658 /sys/dev/cardbus/cardslotvar.h | |
parent | 22c7ad1354a2e9091ea23248b0fde52f6d9f37c3 (diff) |
use workq instead of crafting our own kthread, since the tasks being done
are fairly small. tested by a few, and kettenis says he will test it sooner
if it is commited...
Diffstat (limited to 'sys/dev/cardbus/cardslotvar.h')
-rw-r--r-- | sys/dev/cardbus/cardslotvar.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/cardbus/cardslotvar.h b/sys/dev/cardbus/cardslotvar.h index 04b9c7f0763..19adf525cbe 100644 --- a/sys/dev/cardbus/cardslotvar.h +++ b/sys/dev/cardbus/cardslotvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cardslotvar.h,v 1.3 2005/09/19 19:05:39 fgsch Exp $ */ +/* $OpenBSD: cardslotvar.h,v 1.4 2008/11/24 15:50:44 deraadt Exp $ */ /* $NetBSD: cardslotvar.h,v 1.5 2000/03/13 23:52:38 soren Exp $ */ /* @@ -76,11 +76,7 @@ struct cardslot_softc { struct cardbus_softc *sc_cb_softc; struct pcmcia_softc *sc_16_softc; - struct proc *sc_event_thread; - int sc_th_enable; /* true if the thread is enabled */ - /* An event queue for the thread which processes slot state events. */ - SIMPLEQ_HEAD(, cardslot_event) sc_events; }; |