summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2003-11-09 23:54:21 +0000
committerjoe <joe@FreeBSD.org>2003-11-09 23:54:21 +0000
commit59ab76006add39277e6efb09d2e8e962a5823152 (patch)
tree0e79c0d728f99a2df25a61bbcbe5dff5067f4504 /sys/dev/usb/usbdi.c
parenta6e2965d62192f0bd45970e72b5edab8cb17860f (diff)
downloadFreeBSD-src-59ab76006add39277e6efb09d2e8e962a5823152.zip
FreeBSD-src-59ab76006add39277e6efb09d2e8e962a5823152.tar.gz
MFNetBSD:
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD(). this mirrors the functionality of SLIST_REMOVE_HEAD() (the other singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
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 b8f23ae..970f67f 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi.c,v 1.100 2002/05/19 06:24:33 augustss Exp $ */
+/* $NetBSD: usbdi.c,v 1.101 2002/06/01 23:51:04 lukem Exp $ */
/* Also already have from NetBSD:
* $NetBSD: usbdi.c,v 1.102 2002/07/11 21:14:35 augustss Exp $
@@ -818,7 +818,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)));
OpenPOWER on IntegriCloud