From 937f7131d7ea7762851c89a410c83e1c4b393234 Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Thu, 14 Jan 2010 16:11:32 +0100 Subject: [PATCH] USB: BKL removal: adutux BKL was not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- drivers/usb/misc/adutux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index ac8ad91c2da..306e97825b3 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #ifdef CONFIG_USB_DEBUG @@ -275,7 +274,6 @@ static int adu_open(struct inode *inode, struct file *file) dbg(2,"%s : enter", __func__); - lock_kernel(); subminor = iminor(inode); if ((retval = mutex_lock_interruptible(&adutux_mutex))) { @@ -334,7 +332,6 @@ static int adu_open(struct inode *inode, struct file *file) exit_no_device: mutex_unlock(&adutux_mutex); exit_no_lock: - unlock_kernel(); dbg(2,"%s : leave, return value %d ", __func__, retval); return retval; } -- 2.41.0