diff options
author | Oliver Neukum <oliver@neukum.org> | 2010-01-14 16:08:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 14:54:27 -0800 |
commit | 0022457a5469d328219dfb1ea5bd89d076e28372 (patch) | |
tree | 7194fe86bcfda0f74bf17513837b333587c2ca07 /drivers | |
parent | b92a97efe00cf4e3555585f40dbe96512bba8f95 (diff) | |
download | linux-3.10-0022457a5469d328219dfb1ea5bd89d076e28372.tar.gz linux-3.10-0022457a5469d328219dfb1ea5bd89d076e28372.tar.bz2 linux-3.10-0022457a5469d328219dfb1ea5bd89d076e28372.zip |
USB: BKL removal: usbtmc
BKL 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')
-rw-r--r-- | drivers/usb/class/usbtmc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index 426bfc72b9b..8588c0937a8 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c @@ -26,7 +26,6 @@ #include <linux/uaccess.h> #include <linux/kref.h> #include <linux/mutex.h> -#include <linux/smp_lock.h> #include <linux/usb.h> #include <linux/usb/tmc.h> @@ -114,7 +113,6 @@ static int usbtmc_open(struct inode *inode, struct file *filp) struct usbtmc_device_data *data; int retval = 0; - lock_kernel(); intf = usb_find_interface(&usbtmc_driver, iminor(inode)); if (!intf) { printk(KERN_ERR KBUILD_MODNAME @@ -130,7 +128,6 @@ static int usbtmc_open(struct inode *inode, struct file *filp) filp->private_data = data; exit: - unlock_kernel(); return retval; } |