summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci.c')
-rw-r--r--sys/dev/usb/controller/ehci.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c
index 6156cb8..c3b7ba4 100644
--- a/sys/dev/usb/controller/ehci.c
+++ b/sys/dev/usb/controller/ehci.c
@@ -1156,13 +1156,6 @@ ehci_non_isoc_done_sub(struct usb2_xfer *xfer)
}
/* Check for last transfer */
if (((void *)td) == xfer->td_transfer_last) {
- if (len == 0) {
- /*
- * Halt is ok if descriptor is last,
- * and complete:
- */
- status &= ~EHCI_QTD_HALTED;
- }
td = NULL;
break;
}
OpenPOWER on IntegriCloud