Module Name:    src
Committed By:   skrll
Date:           Mon May  2 11:55:21 UTC 2016

Modified Files:
        src/sys/dev/usb: usb_subr.c

Log Message:
Remove the "usb_disconnect_port: no device" DIAGNOSTIC message


To generate a diff of this commit:
cvs rdiff -u -r1.210 -r1.211 src/sys/dev/usb/usb_subr.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/usb_subr.c
diff -u src/sys/dev/usb/usb_subr.c:1.210 src/sys/dev/usb/usb_subr.c:1.211
--- src/sys/dev/usb/usb_subr.c:1.210	Sat Apr 23 10:15:32 2016
+++ src/sys/dev/usb/usb_subr.c	Mon May  2 11:55:21 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: usb_subr.c,v 1.210 2016/04/23 10:15:32 skrll Exp $	*/
+/*	$NetBSD: usb_subr.c,v 1.211 2016/05/02 11:55:21 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.210 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.211 2016/05/02 11:55:21 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1708,9 +1708,6 @@ usb_disconnect_port(struct usbd_port *up
 	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;
 	}
 

Reply via email to