aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/image/mdc800.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/image/mdc800.c')
-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