From 3c02b1d79e04e86f8bd2ff56da3743c2980f3e34 Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Thu, 14 Jan 2010 16:12:53 +0100 Subject: USB: BKL removal: legousbtower BKL was not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- drivers/usb/misc/legousbtower.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/usb/misc') diff --git a/drivers/usb/misc/legousbtower.c b/drivers/usb/misc/legousbtower.c index 94e1b84134d..3d4378fb441 100644 --- a/drivers/usb/misc/legousbtower.c +++ b/drivers/usb/misc/legousbtower.c @@ -82,7 +82,6 @@ #include #include #include -#include #include #include #include @@ -346,7 +345,6 @@ static int tower_open (struct inode *inode, struct file *file) dbg(2, "%s: enter", __func__); - lock_kernel(); nonseekable_open(inode, file); subminor = iminor(inode); @@ -432,7 +430,6 @@ unlock_exit: mutex_unlock(&dev->lock); exit: - unlock_kernel(); dbg(2, "%s: leave, return value %d ", __func__, retval); return retval; -- cgit v1.2.3