summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2010-01-14 16:11:32 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:29 -0800
commit937f7131d7ea7762851c89a410c83e1c4b393234 (patch)
treecc24d8de8901ca21523d68a438ff19033b313d73 /drivers/usb/misc
parentdbdae3bd4af15c32e3b5eb6e608c1e2ea751b07f (diff)
downloadop-kernel-dev-937f7131d7ea7762851c89a410c83e1c4b393234.zip
op-kernel-dev-937f7131d7ea7762851c89a410c83e1c4b393234.tar.gz
USB: BKL removal: adutux
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>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/adutux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c
index ac8ad91..306e978 100644
--- a/drivers/usb/misc/adutux.c
+++ b/drivers/usb/misc/adutux.c
@@ -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
@@ -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))) {
@@ -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;
}
OpenPOWER on IntegriCloud