Module Name: src
Committed By: skrll
Date: Sat May 7 08:11:49 UTC 2016
Modified Files:
src/sys/dev/usb: xhci.c
Log Message:
G/C more unused code
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/usb/xhci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/xhci.c
diff -u src/sys/dev/usb/xhci.c:1.44 src/sys/dev/usb/xhci.c:1.45
--- src/sys/dev/usb/xhci.c:1.44 Fri May 6 10:27:14 2016
+++ src/sys/dev/usb/xhci.c Sat May 7 08:11:49 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.44 2016/05/06 10:27:14 skrll Exp $ */
+/* $NetBSD: xhci.c,v 1.45 2016/05/07 08:11:49 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.44 2016/05/06 10:27:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.45 2016/05/07 08:11:49 skrll Exp $");
#include "opt_usb.h"
@@ -3372,11 +3372,6 @@ xhci_device_ctrl_start(struct usbd_xfer
xhci_timeout, xfer);
}
- if (sc->sc_bus.ub_usepolling) {
- DPRINTFN(1, "polling", 0, 0, 0, 0);
- //xhci_waitintr(sc, xfer);
- }
-
return USBD_IN_PROGRESS;
}
@@ -3492,11 +3487,6 @@ xhci_device_bulk_start(struct usbd_xfer
xhci_timeout, xfer);
}
- if (sc->sc_bus.ub_usepolling) {
- DPRINTFN(1, "polling", 0, 0, 0, 0);
- //xhci_waitintr(sc, xfer);
- }
-
return USBD_IN_PROGRESS;
}
@@ -3602,11 +3592,6 @@ xhci_device_intr_start(struct usbd_xfer
xhci_timeout, xfer);
}
- if (sc->sc_bus.ub_usepolling) {
- DPRINTFN(1, "polling", 0, 0, 0, 0);
- //xhci_waitintr(sc, xfer);
- }
-
return USBD_IN_PROGRESS;
}