Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb xhci_xspeed2speed is unused for now



details:   https://anonhg.NetBSD.org/src/rev/29597c1482a1
branches:  nick-nhusb
changeset: 804426:29597c1482a1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 24 08:43:25 2015 +0000

description:
xhci_xspeed2speed is unused for now

diffstat:

 sys/dev/usb/xhci.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 92452d75b439 -r 29597c1482a1 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Sat Oct 24 08:24:15 2015 +0000
+++ b/sys/dev/usb/xhci.c        Sat Oct 24 08:43:25 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.28.2.45 2015/10/24 08:24:15 skrll Exp $     */
+/*     $NetBSD: xhci.c,v 1.28.2.46 2015/10/24 08:43:25 skrll Exp $     */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.45 2015/10/24 08:24:15 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.46 2015/10/24 08:43:25 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -1077,6 +1077,7 @@
        }
 }
 
+#if 0
 /* convert xspeed to usbdi speed */
 static int
 xhci_xspeed2speed(int xspeed)
@@ -1087,6 +1088,7 @@
        default: return xspeed;
        }
 }
+#endif
 
 /* convert xspeed to port status speed */
 static int



Home | Main Index | Thread Index | Old Index