summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uhci.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index cd28c2e..dd8cbf7 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.134 2001/03/25 22:52:21 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.135 2001/04/01 14:59:52 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -629,11 +629,9 @@ uhci_allocx(struct usbd_bus *bus)
UXFER(xfer)->iinfo.sc = sc;
#ifdef DIAGNOSTIC
UXFER(xfer)->iinfo.isdone = 1;
+ xfer->busy_free = XFER_BUSY;
#endif
}
-#ifdef DIAGNOSTIC
- xfer->busy_free = XFER_BUSY;
-#endif
return (xfer);
}
OpenPOWER on IntegriCloud