summaryrefslogtreecommitdiff
path: root/sys/arch/vax
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/arch/vax
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/arch/vax')
-rw-r--r--sys/arch/vax/qbus/uba.c4
-rw-r--r--sys/arch/vax/uba/uba.c4
-rw-r--r--sys/arch/vax/vsa/vsbus.c4
3 files changed, 6 insertions, 6 deletions
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);
}