projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbdae3b
)
USB: BKL removal: adutux
author
Oliver Neukum
<
[email protected]
>
Thu, 14 Jan 2010 15:11:32 +0000
(16:11 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 2 Mar 2010 22:54:29 +0000
(14:54 -0800)
BKL was not needed at all. Removed without replacement.
Signed-off-by: Oliver Neukum <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/misc/adutux.c
patch
|
blob
|
history
diff --git
a/drivers/usb/misc/adutux.c
b/drivers/usb/misc/adutux.c
index ac8ad91c2dacd711385c5782263fd9df3c6629a3..306e97825b36bbb2d9d6ae3885083189b5a5c765 100644
(file)
--- 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;
}