From 5f1fa125235e4cbb1e0d78240a58a1e299f4461d Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Tue, 4 May 2004 16:59:33 +0000 Subject: 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 --- sys/arch/vax/qbus/uba.c | 4 ++-- sys/arch/vax/uba/uba.c | 4 ++-- sys/arch/vax/vsa/vsbus.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/arch/vax') 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); } -- cgit v1.2.3