From: Oliver Neukum Date: Thu, 14 Jan 2010 15:10:05 +0000 (+0100) Subject: USB: BKL removal: mdc800 X-Git-Tag: v2.6.34-rc1~215^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a207b431174ecc8f995230d19c79242160b8888;p=platform%2Fkernel%2Flinux-3.10.git USB: BKL removal: mdc800 BKL not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/image/mdc800.c b/drivers/usb/image/mdc800.c index dce4f7b..e192e8f 100644 --- a/drivers/usb/image/mdc800.c +++ b/drivers/usb/image/mdc800.c @@ -96,7 +96,6 @@ #include #include #include -#include #include #include @@ -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; }