aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-12-09 00:55:50 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-12-09 00:55:50 +0000
commit317cca359cb01f89f28a14b8a8f9223e4e9c3ba8 (patch)
tree6bf2f730816aaf63d712e527f152b5776a6259bd /sys
parent02ea085763f5165d41d406083a66e30ee1158faa (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index 9a248cdba9cf8..dafccfdb02465 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1810,7 +1810,7 @@ ohci_rem_ed(ohci_soft_ed_t *sed, ohci_soft_ed_t *head)
SPLUSBCHECK;
/* XXX */
- for (p = head; p == NULL && p->next != sed; p = p->next)
+ for (p = head; p != NULL && p->next != sed; p = p->next)
;
if (p == NULL)
panic("ohci_rem_ed: ED not found\n");