summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.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/usbdi.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/usbdi.c')
-rw-r--r--sys/dev/usb/usbdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index 44c247998bf..e4ac054179b 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.c,v 1.23 2003/07/08 13:19:09 nate Exp $ */
+/* $OpenBSD: usbdi.c,v 1.24 2004/05/04 16:59:32 grange Exp $ */
/* $NetBSD: usbdi.c,v 1.103 2002/09/27 15:37:38 provos Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.c,v 1.28 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -811,7 +811,7 @@ usb_transfer_complete(usbd_xfer_handle xfer)
xfer, SIMPLEQ_FIRST(&pipe->queue));
xfer->busy_free = XFER_BUSY;
#endif
- SIMPLEQ_REMOVE_HEAD(&pipe->queue, xfer, next);
+ SIMPLEQ_REMOVE_HEAD(&pipe->queue, next);
}
DPRINTFN(5,("usb_transfer_complete: repeat=%d new head=%p\n",
repeat, SIMPLEQ_FIRST(&pipe->queue)));