diff options
author | Oliver Neukum <oliver@neukum.org> | 2010-01-14 10:08:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:27 -0500 |
commit | 0022457a5469d328219dfb1ea5bd89d076e28372 (patch) | |
tree | 7194fe86bcfda0f74bf17513837b333587c2ca07 /drivers/usb/class | |
parent | b92a97efe00cf4e3555585f40dbe96512bba8f95 (diff) |
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/usb/class')
-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 426bfc72b9b4..8588c0937a89 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include <linux/uaccess.h> | 26 | #include <linux/uaccess.h> |
27 | #include <linux/kref.h> | 27 | #include <linux/kref.h> |
28 | #include <linux/mutex.h> | 28 | #include <linux/mutex.h> |
29 | #include <linux/smp_lock.h> | ||
30 | #include <linux/usb.h> | 29 | #include <linux/usb.h> |
31 | #include <linux/usb/tmc.h> | 30 | #include <linux/usb/tmc.h> |
32 | 31 | ||
@@ -114,7 +113,6 @@ static int usbtmc_open(struct inode *inode, struct file *filp) | |||
114 | struct usbtmc_device_data *data; | 113 | struct usbtmc_device_data *data; |
115 | int retval = 0; | 114 | int retval = 0; |
116 | 115 | ||
117 | lock_kernel(); | ||
118 | intf = usb_find_interface(&usbtmc_driver, iminor(inode)); | 116 | intf = usb_find_interface(&usbtmc_driver, iminor(inode)); |
119 | if (!intf) { | 117 | if (!intf) { |
120 | printk(KERN_ERR KBUILD_MODNAME | 118 | printk(KERN_ERR KBUILD_MODNAME |
@@ -130,7 +128,6 @@ static int usbtmc_open(struct inode *inode, struct file *filp) | |||
130 | filp->private_data = data; | 128 | filp->private_data = data; |
131 | 129 | ||
132 | exit: | 130 | exit: |
133 | unlock_kernel(); | ||
134 | return retval; | 131 | return retval; |
135 | } | 132 | } |
136 | 133 | ||