summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umsm.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-07 18:39:03 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-07 18:39:03 +0000
commit063defb1c68638789fc3466451766529c2c5f754 (patch)
tree9d50cc9fc419483bb1ee5c897adb48d483ca672f /sys/dev/usb/umsm.c
parentae7dfe87886f2abbc46f5b44b71e097b7e18d8b9 (diff)
Do not define per-driver DEBUG variable when USB_DEBUG is defined. It's
really impossible to debug the USB stack when any single device you plug in your machine starts to vomit its own poetry,
Diffstat (limited to 'sys/dev/usb/umsm.c')
-rw-r--r--sys/dev/usb/umsm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c
index 319617e8cc7..5eb138f7142 100644
--- a/sys/dev/usb/umsm.c
+++ b/sys/dev/usb/umsm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umsm.c,v 1.96 2013/12/13 17:43:07 yuo Exp $ */
+/* $OpenBSD: umsm.c,v 1.97 2014/03/07 18:39:02 mpi Exp $ */
/*
* Copyright (c) 2008 Yojiro UO <yuo@nui.org>
@@ -36,10 +36,6 @@
#include <dev/usb/umassvar.h>
#undef DPRINTF /* undef DPRINTF for umass */
-#ifdef USB_DEBUG
-#define UMSM_DEBUG
-#endif
-
#ifdef UMSM_DEBUG
int umsmdebug = 0;
#define DPRINTFN(n, x) do { if (umsmdebug > (n)) printf x; } while (0)