diff options
Diffstat (limited to 'sys/dev/cardbus/cardslot.c')
-rw-r--r-- | sys/dev/cardbus/cardslot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cardbus/cardslot.c b/sys/dev/cardbus/cardslot.c index b315e63f602..5516e39db41 100644 --- a/sys/dev/cardbus/cardslot.c +++ b/sys/dev/cardbus/cardslot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cardslot.c,v 1.3 2003/10/21 10:07:33 jmc Exp $ */ +/* $OpenBSD: cardslot.c,v 1.4 2004/05/04 16:59:31 grange Exp $ */ /* $NetBSD: cardslot.c,v 1.9 2000/03/22 09:35:06 haya Exp $ */ /* @@ -314,7 +314,7 @@ cardslot_event_thread(arg) (void) tsleep(&sc->sc_events, PWAIT, "cardslotev", 0); continue; } - SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce, ce_q); + SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce_q); splx(s); if (IS_CARDSLOT_INSERT_REMOVE_EV(ce->ce_type)) { @@ -333,9 +333,9 @@ cardslot_event_thread(arg) break; } if (ce2->ce_type == ce->ce_type) { - SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce1, ce_q); + SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce_q); free(ce1, M_TEMP); - SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce2, ce_q); + SIMPLEQ_REMOVE_HEAD(&sc->sc_events, ce_q); free(ce2, M_TEMP); } } |