Skip to content

Commit

Permalink
USB: BKL removal: adutux
Browse files Browse the repository at this point in the history
BKL was not needed at all. Removed without replacement.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent dbdae3b commit 937f713
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/usb/misc/adutux.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include <linux/smp_lock.h>
#include <asm/uaccess.h>

#ifdef CONFIG_USB_DEBUG
Expand Down Expand Up @@ -275,7 +274,6 @@ static int adu_open(struct inode *inode, struct file *file)

dbg(2,"%s : enter", __func__);

lock_kernel();
subminor = iminor(inode);

if ((retval = mutex_lock_interruptible(&adutux_mutex))) {
Expand Down Expand Up @@ -334,7 +332,6 @@ static int adu_open(struct inode *inode, struct file *file)
exit_no_device:
mutex_unlock(&adutux_mutex);
exit_no_lock:
unlock_kernel();
dbg(2,"%s : leave, return value %d ", __func__, retval);
return retval;
}
Expand Down

0 comments on commit 937f713

Please sign in to comment.