summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2004-05-04 16:59:31 +0000
committergrange <grange@openbsd.org>2004-05-04 16:59:31 +0000
commit255ad9aa22c2f2a8c58d8153e0b2de2007f73cf4 (patch)
treed8dc8e309dbef868caf0d0270994004e5289baba /sys/dev/usb/uhci.c
parentuppercase + whitespace fix from jmc@. (diff)
downloadwireguard-openbsd-255ad9aa22c2f2a8c58d8153e0b2de2007f73cf4.tar.xz
wireguard-openbsd-255ad9aa22c2f2a8c58d8153e0b2de2007f73cf4.zip
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/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 1a94613e7d0..32b36c0f26e 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhci.c,v 1.30 2003/08/23 15:16:07 fgsch Exp $ */
+/* $OpenBSD: uhci.c,v 1.31 2004/05/04 16:59:32 grange Exp $ */
/* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
@@ -571,7 +571,7 @@ uhci_detach(struct uhci_softc *sc, int flags)
xfer = SIMPLEQ_FIRST(&sc->sc_free_xfers);
if (xfer == NULL)
break;
- SIMPLEQ_REMOVE_HEAD(&sc->sc_free_xfers, xfer, next);
+ SIMPLEQ_REMOVE_HEAD(&sc->sc_free_xfers, next);
free(xfer, M_USB);
}
@@ -629,7 +629,7 @@ uhci_allocx(struct usbd_bus *bus)
xfer = SIMPLEQ_FIRST(&sc->sc_free_xfers);
if (xfer != NULL) {
- SIMPLEQ_REMOVE_HEAD(&sc->sc_free_xfers, xfer, next);
+ SIMPLEQ_REMOVE_HEAD(&sc->sc_free_xfers, next);
#ifdef DIAGNOSTIC
if (xfer->busy_free != XFER_FREE) {
printf("uhci_allocx: xfer=%p not free, 0x%08x\n", xfer,