diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-07 18:39:03 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-07 18:39:03 +0000 |
commit | 063defb1c68638789fc3466451766529c2c5f754 (patch) | |
tree | 9d50cc9fc419483bb1ee5c897adb48d483ca672f /sys/dev/usb/uoaklux.c | |
parent | ae7dfe87886f2abbc46f5b44b71e097b7e18d8b9 (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/uoaklux.c')
-rw-r--r-- | sys/dev/usb/uoaklux.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/usb/uoaklux.c b/sys/dev/usb/uoaklux.c index 990f230f4c0..148191fa2c9 100644 --- a/sys/dev/usb/uoaklux.c +++ b/sys/dev/usb/uoaklux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uoaklux.c,v 1.5 2013/11/11 09:16:03 pirofti Exp $ */ +/* $OpenBSD: uoaklux.c,v 1.6 2014/03/07 18:39:02 mpi Exp $ */ /* * Copyright (c) 2012 Yojiro UO <yuo@nui.org> @@ -36,10 +36,6 @@ #include <dev/usb/hid.h> #include "uoak.h" -#ifdef USB_DEBUG -#define UOAKLUX_DEBUG -#endif - #ifdef UOAKLUX_DEBUG int uoakluxdebug = 0; #define DPRINTFN(n, x) do { if (uoakluxdebug > (n)) printf x; } while (0) |