summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hcd-pci.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-11-17 09:48:09 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-17 11:29:55 -0800
commit654f31189e550cd5924b786487a5d93d9feaada9 (patch)
tree3502129c017607c961e396b4f32566f48436cc70 /drivers/usb/core/hcd-pci.c
parent87cf203935a646d5fb00464dc5887292da71d928 (diff)
downloadlinux-654f31189e550cd5924b786487a5d93d9feaada9.tar.gz
linux-654f31189e550cd5924b786487a5d93d9feaada9.tar.bz2
linux-654f31189e550cd5924b786487a5d93d9feaada9.zip
[PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile
This lets us remove a lot of code in the drivers that were all checking the same thing. It also found some bugs in a few of the drivers, which has been fixed up. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/core/hcd-pci.c')
-rw-r--r--drivers/usb/core/hcd-pci.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 84d9e69329bb..7feb829362d6 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -17,13 +17,6 @@
*/
#include <linux/config.h>
-
-#ifdef CONFIG_USB_DEBUG
- #define DEBUG
-#else
- #undef DEBUG
-#endif
-
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>