summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/cardslot.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-05-04 16:59:33 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-05-04 16:59:33 +0000
commit5f1fa125235e4cbb1e0d78240a58a1e299f4461d (patch)
tree71c6fd5dfbe147194a797e87fc2970f9bda72483 /sys/dev/cardbus/cardslot.c
parent6e299f764a11dc2a46750e52d5ed7352cd87e7a7 (diff)
Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro.
This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
Diffstat (limited to 'sys/dev/cardbus/cardslot.c')
-rw-r--r--sys/dev/cardbus/cardslot.c8
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);
}
}