diff options
author | Oliver Neukum <oliver@neukum.org> | 2010-01-14 10:11:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:29 -0500 |
commit | 937f7131d7ea7762851c89a410c83e1c4b393234 (patch) | |
tree | cc24d8de8901ca21523d68a438ff19033b313d73 /drivers/usb/misc/adutux.c | |
parent | dbdae3bd4af15c32e3b5eb6e608c1e2ea751b07f (diff) |
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/adutux.c')
-rw-r--r-- | drivers/usb/misc/adutux.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index ac8ad91c2dac..306e97825b36 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/usb.h> | 26 | #include <linux/usb.h> |
27 | #include <linux/mutex.h> | 27 | #include <linux/mutex.h> |
28 | #include <linux/smp_lock.h> | ||
29 | #include <asm/uaccess.h> | 28 | #include <asm/uaccess.h> |
30 | 29 | ||
31 | #ifdef CONFIG_USB_DEBUG | 30 | #ifdef CONFIG_USB_DEBUG |
@@ -275,7 +274,6 @@ static int adu_open(struct inode *inode, struct file *file) | |||
275 | 274 | ||
276 | dbg(2,"%s : enter", __func__); | 275 | dbg(2,"%s : enter", __func__); |
277 | 276 | ||
278 | lock_kernel(); | ||
279 | subminor = iminor(inode); | 277 | subminor = iminor(inode); |
280 | 278 | ||
281 | if ((retval = mutex_lock_interruptible(&adutux_mutex))) { | 279 | if ((retval = mutex_lock_interruptible(&adutux_mutex))) { |
@@ -334,7 +332,6 @@ static int adu_open(struct inode *inode, struct file *file) | |||
334 | exit_no_device: | 332 | exit_no_device: |
335 | mutex_unlock(&adutux_mutex); | 333 | mutex_unlock(&adutux_mutex); |
336 | exit_no_lock: | 334 | exit_no_lock: |
337 | unlock_kernel(); | ||
338 | dbg(2,"%s : leave, return value %d ", __func__, retval); | 335 | dbg(2,"%s : leave, return value %d ", __func__, retval); |
339 | return retval; | 336 | return retval; |
340 | } | 337 | } |