summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/Makefile
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-19 15:42:20 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-21 16:01:00 -0800
commit3482528e9aced9234d4e2a4a9538c882a9aa5aa2 (patch)
tree18cd72ca919471c1d7db536965ea32ce329d4e77 /drivers/usb/core/Makefile
parent0c8b1992b4a180704a887b3c9128aa103b5ef60f (diff)
downloadlinux-3482528e9aced9234d4e2a4a9538c882a9aa5aa2.tar.bz2
USB: core: remove CONFIG_USB_DEBUG usage
CONFIG_USB_DEBUG is going away, so remove the few places in the USB core that relied on them. This means that we always now do the "debug" checks for every urb submitted, which is a good idea, as who knows how many driver bugs we have been ignoring when people forget to enable this option. Also, with the overall speed of USB, doing these extra checks should not cause any additional overhead. Also, no longer announce all devices being added to the system if CONFIG_USB_DEBUG is enabled, as it's not going to be around much longer. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/Makefile')
-rw-r--r--drivers/usb/core/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/core/Makefile b/drivers/usb/core/Makefile
index 5e847ad2f58a..2f6f93220046 100644
--- a/drivers/usb/core/Makefile
+++ b/drivers/usb/core/Makefile
@@ -2,8 +2,6 @@
# Makefile for USB Core files and filesystem
#
-ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
-
usbcore-y := usb.o hub.o hcd.o urb.o message.o driver.o
usbcore-y += config.o file.o buffer.o sysfs.o endpoint.o
usbcore-y += devio.o notify.o generic.o quirks.o devices.o