Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb G/C more unused code
details: https://anonhg.NetBSD.org/src/rev/a47b315fc4bf
branches: trunk
changeset: 345089:a47b315fc4bf
user: skrll <skrll%NetBSD.org@localhost>
date: Sat May 07 08:11:49 2016 +0000
description:
G/C more unused code
diffstat:
sys/dev/usb/xhci.c | 19 ++-----------------
1 files changed, 2 insertions(+), 17 deletions(-)
diffs (54 lines):
diff -r f47729349b4a -r a47b315fc4bf sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Sat May 07 08:09:43 2016 +0000
+++ b/sys/dev/usb/xhci.c Sat May 07 08:11:49 2016 +0000
@@ -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_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_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_timeout, xfer);
}
- if (sc->sc_bus.ub_usepolling) {
- DPRINTFN(1, "polling", 0, 0, 0, 0);
- //xhci_waitintr(sc, xfer);
- }
-
return USBD_IN_PROGRESS;
}
Home |
Main Index |
Thread Index |
Old Index