aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@gnu.org>2011-11-24 10:23:44 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 22:58:46 -0500
commit568987116ed5fce7e9e9c731ffe5f5af193ab2e3 (patch)
treeab46fcf8d249126632dc4e34e191440bd94df20c
parent47b649590dbbea182f854d6470ee1cd59b7b7684 (diff)
USB: remove BKL comments
The BKL is a gonner. Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/core/hub.c1
-rw-r--r--drivers/usb/misc/usbtest.c1
-rw-r--r--drivers/usb/serial/usb-serial.c2
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 79781461eec9..29d0669227ec 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -1360,7 +1360,6 @@ descriptor_error:
1360 return -ENODEV; 1360 return -ENODEV;
1361} 1361}
1362 1362
1363/* No BKL needed */
1364static int 1363static int
1365hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data) 1364hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data)
1366{ 1365{
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index bd6d00802eab..959145baf3cf 100644
--- a/drivers/usb/misc/usbtest.c
+++ b/drivers/usb/misc/usbtest.c
@@ -1765,7 +1765,6 @@ static int test_unaligned_bulk(
1765 * off just killing the userspace task and waiting for it to exit. 1765 * off just killing the userspace task and waiting for it to exit.
1766 */ 1766 */
1767 1767
1768/* No BKL needed */
1769static int 1768static int
1770usbtest_ioctl(struct usb_interface *intf, unsigned int code, void *buf) 1769usbtest_ioctl(struct usb_interface *intf, unsigned int code, void *buf)
1771{ 1770{
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c
index 8c46813b9afa..ce6c1a65a544 100644
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -1340,7 +1340,6 @@ static void fixup_generic(struct usb_serial_driver *device)
1340 1340
1341int usb_serial_register(struct usb_serial_driver *driver) 1341int usb_serial_register(struct usb_serial_driver *driver)
1342{ 1342{
1343 /* must be called with BKL held */
1344 int retval; 1343 int retval;
1345 1344
1346 if (usb_disabled()) 1345 if (usb_disabled())
@@ -1378,7 +1377,6 @@ EXPORT_SYMBOL_GPL(usb_serial_register);
1378 1377
1379void usb_serial_deregister(struct usb_serial_driver *device) 1378void usb_serial_deregister(struct usb_serial_driver *device)
1380{ 1379{
1381 /* must be called with BKL held */
1382 printk(KERN_INFO "USB Serial deregistering driver %s\n", 1380 printk(KERN_INFO "USB Serial deregistering driver %s\n",
1383 device->description); 1381 device->description);
1384 mutex_lock(&table_lock); 1382 mutex_lock(&table_lock);