summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2010-01-14 16:12:53 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:31 -0800
commit3c02b1d79e04e86f8bd2ff56da3743c2980f3e34 (patch)
treee8b6acdcc7b9ae0987158ac2667a0dddb8267409 /drivers/usb/misc
parent6248c52f6abd5783ecdd042f6107bd172168961e (diff)
USB: BKL removal: legousbtower
BKL was not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/legousbtower.c3
1 files changed, 0 insertions, 3 deletions
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 <linux/module.h>
#include <linux/completion.h>
#include <linux/mutex.h>
-#include <linux/smp_lock.h>
#include <asm/uaccess.h>
#include <linux/usb.h>
#include <linux/poll.h>
@@ -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;