]> 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)
commit217a3f63cb82edc879d96513f638d561375476fa
tree18cd72ca919471c1d7db536965ea32ce329d4e77
parent5959ec8f70f9020528b1f9f35870a34b71ad86ac
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