summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ohci.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/usb/ohci.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/usb/ohci.c')
-rw-r--r--sys/dev/usb/ohci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index bce3ed227fb..951b739c12f 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ohci.c,v 1.37 2004/01/26 20:10:22 deraadt Exp $ */
+/* $OpenBSD: ohci.c,v 1.38 2004/05/04 16:59:32 grange Exp $ */
/* $NetBSD: ohci.c,v 1.139 2003/02/22 05:24:16 tsutsui Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */
@@ -920,7 +920,7 @@ ohci_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("ohci_allocx: xfer=%p not free, 0x%08x\n", xfer,