From 5a207b431174ecc8f995230d19c79242160b8888 Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Thu, 14 Jan 2010 16:10:05 +0100 Subject: [PATCH] USB: BKL removal: mdc800 BKL not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- drivers/usb/image/mdc800.c | 3 --- 1 file changed, 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 @@ #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; } -- 2.39.5