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/ohci.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/ohci.c')
-rw-r--r-- | sys/dev/usb/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index db62fea..3e09fb7 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ohci.c,v 1.125 2002/05/28 12:42:38 augustss Exp $ */ +/* $NetBSD: ohci.c,v 1.126 2002/06/01 23:51:03 lukem Exp $ */ /* Also, already ported: * $NetBSD: ohci.c,v 1.127 2002/08/07 20:03:19 augustss Exp $ @@ -965,7 +965,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, |