diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-04 16:59:33 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-04 16:59:33 +0000 |
commit | 5f1fa125235e4cbb1e0d78240a58a1e299f4461d (patch) | |
tree | 71c6fd5dfbe147194a797e87fc2970f9bda72483 /sys/arch | |
parent | 6e299f764a11dc2a46750e52d5ed7352cd87e7a7 (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/arch')
-rw-r--r-- | sys/arch/sparc/dev/ts102.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/qbus/uba.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/uba/uba.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/vsa/vsbus.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/ts102.c b/sys/arch/sparc/dev/ts102.c index f515beca0a5..d779c35d888 100644 --- a/sys/arch/sparc/dev/ts102.c +++ b/sys/arch/sparc/dev/ts102.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ts102.c,v 1.10 2003/07/02 21:32:48 todd Exp $ */ +/* $OpenBSD: ts102.c,v 1.11 2004/05/04 16:59:31 grange Exp $ */ /* * Copyright (c) 2003, Miodrag Vallat. * @@ -631,7 +631,7 @@ tslot_event_thread(void *v) continue; } - SIMPLEQ_REMOVE_HEAD(&sc->sc_events, te, te_q); + SIMPLEQ_REMOVE_HEAD(&sc->sc_events, te_q); splx(s); if (te->te_slot >= TS102_NUM_SLOTS) { diff --git a/sys/arch/vax/qbus/uba.c b/sys/arch/vax/qbus/uba.c index 30c1554d72e..e426ea931be 100644 --- a/sys/arch/vax/qbus/uba.c +++ b/sys/arch/vax/qbus/uba.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uba.c,v 1.8 2003/06/02 23:27:58 millert Exp $ */ +/* $OpenBSD: uba.c,v 1.9 2004/05/04 16:59:31 grange Exp $ */ /* $NetBSD: uba.c,v 1.57 2001/04/26 19:16:07 ragge Exp $ */ /* * Copyright (c) 1996 Jonathan Stone. @@ -93,7 +93,7 @@ uba_done(struct uba_softc *uh) struct uba_unit *uu; while ((uu = SIMPLEQ_FIRST(&uh->uh_resq))) { - SIMPLEQ_REMOVE_HEAD(&uh->uh_resq, uu, uu_resq); + SIMPLEQ_REMOVE_HEAD(&uh->uh_resq, uu_resq); if ((*uu->uu_ready)(uu) == 0) { SIMPLEQ_INSERT_HEAD(&uh->uh_resq, uu, uu_resq); break; diff --git a/sys/arch/vax/uba/uba.c b/sys/arch/vax/uba/uba.c index f2787d336ae..05db6016877 100644 --- a/sys/arch/vax/uba/uba.c +++ b/sys/arch/vax/uba/uba.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uba.c,v 1.18 2003/11/10 21:05:06 miod Exp $ */ +/* $OpenBSD: uba.c,v 1.19 2004/05/04 16:59:31 grange Exp $ */ /* $NetBSD: uba.c,v 1.43 2000/01/24 02:40:36 matt Exp $ */ /* * Copyright (c) 1996 Jonathan Stone. @@ -712,7 +712,7 @@ ubarelse(uh, amr) wakeup((caddr_t)&uh->uh_mrwant); } while ((uu = uh->uh_resq.sqh_first)) { - SIMPLEQ_REMOVE_HEAD(&uh->uh_resq, uu, uu_resq); + SIMPLEQ_REMOVE_HEAD(&uh->uh_resq, uu_resq); if ((*uu->uu_ready)(uu) == 0) break; } diff --git a/sys/arch/vax/vsa/vsbus.c b/sys/arch/vax/vsa/vsbus.c index 71f184cd487..9b9dafe2aa6 100644 --- a/sys/arch/vax/vsa/vsbus.c +++ b/sys/arch/vax/vsa/vsbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vsbus.c,v 1.13 2003/11/10 21:05:06 miod Exp $ */ +/* $OpenBSD: vsbus.c,v 1.14 2004/05/04 16:59:31 grange Exp $ */ /* $NetBSD: vsbus.c,v 1.29 2000/06/29 07:14:37 mrg Exp $ */ /* * Copyright (c) 1996, 1999 Ludd, University of Lule}, Sweden. @@ -409,7 +409,7 @@ vsbus_dma_intr(void) return; } vsbus_active = 1; - SIMPLEQ_REMOVE_HEAD(&vsbus_dma, vd, vd_q); + SIMPLEQ_REMOVE_HEAD(&vsbus_dma, vd_q); (*vd->vd_go)(vd->vd_arg); } |