Skip to content

Commit

Permalink
USB: remove BKL comments
Browse files Browse the repository at this point in the history
The BKL is a gonner.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Davidlohr Bueso authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent 47b6495 commit 5689871
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,6 @@ static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id)
return -ENODEV;
}

/* No BKL needed */
static int
hub_ioctl(struct usb_interface *intf, unsigned int code, void *user_data)
{
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/misc/usbtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1765,7 +1765,6 @@ static int test_unaligned_bulk(
* off just killing the userspace task and waiting for it to exit.
*/

/* No BKL needed */
static int
usbtest_ioctl(struct usb_interface *intf, unsigned int code, void *buf)
{
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,6 @@ static void fixup_generic(struct usb_serial_driver *device)

int usb_serial_register(struct usb_serial_driver *driver)
{
/* must be called with BKL held */
int retval;

if (usb_disabled())
Expand Down Expand Up @@ -1378,7 +1377,6 @@ EXPORT_SYMBOL_GPL(usb_serial_register);

void usb_serial_deregister(struct usb_serial_driver *device)
{
/* must be called with BKL held */
printk(KERN_INFO "USB Serial deregistering driver %s\n",
device->description);
mutex_lock(&table_lock);
Expand Down

0 comments on commit 5689871

Please sign in to comment.