summaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/pid.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2005-11-17 18:48:09 +0100
committerLinus Torvalds2005-11-17 20:29:55 +0100
commit654f31189e550cd5924b786487a5d93d9feaada9 (patch)
tree3502129c017607c961e396b4f32566f48436cc70 /drivers/usb/input/pid.c
parent[PATCH] USB: OHCI lh7a404 platform device conversion fixup (diff)
downloadkernel-qcow2-linux-654f31189e550cd5924b786487a5d93d9feaada9.tar.gz
kernel-qcow2-linux-654f31189e550cd5924b786487a5d93d9feaada9.tar.xz
kernel-qcow2-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/input/pid.c')
-rw-r--r--drivers/usb/input/pid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/input/pid.c b/drivers/usb/input/pid.c
index dca5ee93a4ef..19e015d171aa 100644
--- a/drivers/usb/input/pid.c
+++ b/drivers/usb/input/pid.c
@@ -37,8 +37,6 @@
#include "hid.h"
#include "pid.h"
-#define DEBUG
-
#define CHECK_OWNERSHIP(i, hid_pid) \
((i) < FF_EFFECTS_MAX && i >= 0 && \
test_bit(FF_PID_FLAGS_USED, &hid_pid->effects[(i)].flags) && \