Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove the "usb_disconnect_port: no device" DIAG...
details: https://anonhg.NetBSD.org/src/rev/0c216dbc61f6
branches: trunk
changeset: 345006:0c216dbc61f6
user: skrll <skrll%NetBSD.org@localhost>
date: Mon May 02 11:55:21 2016 +0000
description:
Remove the "usb_disconnect_port: no device" DIAGNOSTIC message
diffstat:
sys/dev/usb/usb_subr.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r ae5b47b49a1d -r 0c216dbc61f6 sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Mon May 02 09:43:33 2016 +0000
+++ b/sys/dev/usb/usb_subr.c Mon May 02 11:55:21 2016 +0000
@@ -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 @@
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