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 Remove the DIAGNOSTIC message "usb_disconne...



details:   https://anonhg.NetBSD.org/src/rev/24e31bb6a2fa
branches:  nick-nhusb
changeset: 334506:24e31bb6a2fa
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon May 02 11:52:20 2016 +0000

description:
Remove the DIAGNOSTIC message "usb_disconnect_port: no device".  These
can happen normally now.

diffstat:

 sys/dev/usb/usb_subr.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 1587186a9be8 -r 24e31bb6a2fa sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c    Sat Apr 30 10:34:14 2016 +0000
+++ b/sys/dev/usb/usb_subr.c    Mon May 02 11:52:20 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_subr.c,v 1.198.2.28 2016/04/22 15:44:14 skrll Exp $        */
+/*     $NetBSD: usb_subr.c,v 1.198.2.29 2016/05/02 11:52:20 skrll Exp $        */
 /*     $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $   */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.28 2016/04/22 15:44:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.29 2016/05/02 11:52:20 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1708,9 +1708,6 @@
        DPRINTFN(3, "up=%p dev=%p port=%d", up, dev, up->up_portno, 0);
 
        if (dev == NULL) {
-#ifdef DIAGNOSTIC
-               printf("usb_disconnect_port: no device\n");
-#endif
                return 0;
        }
 



Home | Main Index | Thread Index | Old Index