]> git.baikalelectronics.ru Git - kernel.git/commit
USB: core: remove CONFIG_USB_DEBUG usage
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 23:42:20 +0000 (15:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Dec 2013 00:01:00 +0000 (16:01 -0800)
commitecd85d464a20239d72255ceb56bc831a4e75dfd6
tree18cd72ca919471c1d7db536965ea32ce329d4e77
parentd7951431882043a13756e57b933c7368a8e9a445
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>
drivers/usb/core/Makefile
drivers/usb/core/hub.c
drivers/usb/core/urb.c