summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.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/uhci.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/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 c312606..d747cba 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.160 2002/05/28 12:42:39 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.161 2002/06/01 23:51:04 lukem Exp $ */
/* Also already incorporated from NetBSD:
* $NetBSD: uhci.c,v 1.162 2002/07/11 21:14:28 augustss Exp $
@@ -599,7 +599,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,
OpenPOWER on IntegriCloud