diff options
author | Oliver Neukum <oliver@neukum.org> | 2010-01-14 15:08:13 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 22:54:26 (GMT) |
commit | b92a97efe00cf4e3555585f40dbe96512bba8f95 (patch) | |
tree | 9cf737ad5ab7f25094e42727de28a15fb52bd341 /drivers/usb | |
parent | c8b492a86d71d43fb32e29282e6405663177b9e4 (diff) | |
download | linux-fsl-qoriq-b92a97efe00cf4e3555585f40dbe96512bba8f95.tar.xz |
USB: BKL removal: usb-skeleton
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')
-rw-r--r-- | drivers/usb/usb-skeleton.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c index e94176b..6152278 100644 --- a/drivers/usb/usb-skeleton.c +++ b/drivers/usb/usb-skeleton.c @@ -18,7 +18,6 @@ #include <linux/slab.h> #include <linux/module.h> #include <linux/kref.h> -#include <linux/smp_lock.h> #include <linux/uaccess.h> #include <linux/usb.h> #include <linux/mutex.h> @@ -91,7 +90,6 @@ static int skel_open(struct inode *inode, struct file *file) int subminor; int retval = 0; - lock_kernel(); subminor = iminor(inode); interface = usb_find_interface(&skel_driver, subminor); @@ -137,7 +135,6 @@ static int skel_open(struct inode *inode, struct file *file) mutex_unlock(&dev->io_mutex); exit: - unlock_kernel(); return retval; } |