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:
94015f6
)
USB: BKL removal: mdc800
author
Oliver Neukum
<
[email protected]
>
Thu, 14 Jan 2010 15:10:05 +0000
(16:10 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 2 Mar 2010 22:54:27 +0000
(14:54 -0800)
BKL not needed at all. Removed without replacement.
Signed-off-by: Oliver Neukum <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/image/mdc800.c
patch
|
blob
|
history
diff --git
a/drivers/usb/image/mdc800.c
b/drivers/usb/image/mdc800.c
index dce4f7b69ac30e10a709fc76aa9849d005db9c39..e192e8f7c5601cdc7eda7c4ac72a1e425729a46b 100644
(file)
--- a/
drivers/usb/image/mdc800.c
+++ b/
drivers/usb/image/mdc800.c
@@
-96,7
+96,6
@@
#include <linux/module.h>
#include <linux/wait.h>
#include <linux/mutex.h>
-#include <linux/smp_lock.h>
#include <linux/usb.h>
#include <linux/fs.h>
@@
-623,7
+622,6
@@
static int mdc800_device_open (struct inode* inode, struct file *file)
int retval=0;
int errn=0;
- lock_kernel();
mutex_lock(&mdc800->io_lock);
if (mdc800->state == NOT_CONNECTED)
@@
-662,7
+660,6
@@
static int mdc800_device_open (struct inode* inode, struct file *file)
error_out:
mutex_unlock(&mdc800->io_lock);
- unlock_kernel();
return errn;
}