From bd3f3db8dd41b77e5624bea80abc9248a8f134a6 Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 22 Apr 2010 21:31:34 +0000 Subject: Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had the illusion of a tunable setting but was always turned on regardless. MFC after: 1 week --- sys/dev/usb/usb_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/usb/usb_debug.h') diff --git a/sys/dev/usb/usb_debug.h b/sys/dev/usb/usb_debug.h index b6bfbcf..8718c89 100644 --- a/sys/dev/usb/usb_debug.h +++ b/sys/dev/usb/usb_debug.h @@ -34,7 +34,7 @@ extern int usb_debug; /* Check if USB debugging is enabled. */ #ifdef USB_DEBUG_VAR -#if (USB_DEBUG != 0) +#ifdef USB_DEBUG #define DPRINTFN(n,fmt,...) do { \ if ((USB_DEBUG_VAR) >= (n)) { \ printf("%s: " fmt, \ -- cgit v1.1