aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2010-01-14 10:10:05 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 17:54:27 -0500
commit5a207b431174ecc8f995230d19c79242160b8888 (patch)
tree72c27a365da38ef18b4f028f1bafcf911869674f
parent94015f6e6ba11040f75f4b42aada8de23965290e (diff)
USB: BKL removal: mdc800
BKL not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/image/mdc800.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c
index dce4f7b69ac3..e192e8f7c560 100644
--- a/drivers/usb/image/mdc800.c
+++ b/drivers/usb/image/mdc800.c
@@ -96,7 +96,6 @@
96#include <linux/module.h> 96#include <linux/module.h>
97#include <linux/wait.h> 97#include <linux/wait.h>
98#include <linux/mutex.h> 98#include <linux/mutex.h>
99#include <linux/smp_lock.h>
100 99
101#include <linux/usb.h> 100#include <linux/usb.h>
102#include <linux/fs.h> 101#include <linux/fs.h>
@@ -623,7 +622,6 @@ static int mdc800_device_open (struct inode* inode, struct file *file)
623 int retval=0; 622 int retval=0;
624 int errn=0; 623 int errn=0;
625 624
626 lock_kernel();
627 mutex_lock(&mdc800->io_lock); 625 mutex_lock(&mdc800->io_lock);
628 626
629 if (mdc800->state == NOT_CONNECTED) 627 if (mdc800->state == NOT_CONNECTED)
@@ -662,7 +660,6 @@ static int mdc800_device_open (struct inode* inode, struct file *file)
662 660
663error_out: 661error_out:
664 mutex_unlock(&mdc800->io_lock); 662 mutex_unlock(&mdc800->io_lock);
665 unlock_kernel();
666 return errn; 663 return errn;
667} 664}
668 665