summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-02-04 13:13:25 +0000
committerphk <phk@FreeBSD.org>2001-02-04 13:13:25 +0000
commite87f7a15ad62e1dd25061ddb301662e809692c2c (patch)
tree5f0ba9ebd57fbfd6e13f2b9403d96e9bfae48d8f /sys/dev/usb
parentf3b4fbe35f6e8e9d09f742c114281d8e9984d135 (diff)
downloadFreeBSD-src-e87f7a15ad62e1dd25061ddb301662e809692c2c.zip
FreeBSD-src-e87f7a15ad62e1dd25061ddb301662e809692c2c.tar.gz
Mechanical change to use <sys/queue.h> macro API instead of
fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index 1628268..761a458 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -985,7 +985,7 @@ uhci_intr(void *arg)
* We scan all interrupt descriptors to see if any have
* completed.
*/
- for (ii = LIST_FIRST(&sc->sc_intrhead); ii; ii = LIST_NEXT(ii, list))
+ LIST_FOREACH(ii, &sc->sc_intrhead, list)
uhci_check_intr(sc, ii);
DPRINTFN(10, ("%s: uhci_intr: exit\n", USBDEVNAME(sc->sc_bus.bdev)));
OpenPOWER on IntegriCloud