diff options
author | joe <joe@FreeBSD.org> | 2003-11-09 23:54:21 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2003-11-09 23:54:21 +0000 |
commit | 59ab76006add39277e6efb09d2e8e962a5823152 (patch) | |
tree | 0e79c0d728f99a2df25a61bbcbe5dff5067f4504 /sys/dev/usb/ehci.c | |
parent | a6e2965d62192f0bd45970e72b5edab8cb17860f (diff) | |
download | FreeBSD-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/ehci.c')
-rw-r--r-- | sys/dev/usb/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index cb55f94..152d569 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1012,7 +1012,7 @@ ehci_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, |