summaryrefslogtreecommitdiffstats
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2010-01-14 16:07:37 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:26 -0800
commitc8b492a86d71d43fb32e29282e6405663177b9e4 (patch)
treeafa4104aa17ec15235e47ea8540dbc6c962ad05d /drivers/usb/class
parent4e0961d53020b0fed83168d469ce44e1b3f25898 (diff)
usb: BKL removal: usblp
BKL was not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum <oliver@neukum.org> Acked-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class')
-rw-r--r--drivers/usb/class/usblp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
index d53f9499f93..93b5f85d7ce 100644
--- a/drivers/usb/class/usblp.c
+++ b/drivers/usb/class/usblp.c
@@ -56,7 +56,6 @@
#include <linux/slab.h>
#include <linux/lp.h>
#include <linux/mutex.h>
-#include <linux/smp_lock.h>
#undef DEBUG
#include <linux/usb.h>
@@ -396,7 +395,6 @@ static int usblp_open(struct inode *inode, struct file *file)
if (minor < 0)
return -ENODEV;
- lock_kernel();
mutex_lock (&usblp_mutex);
retval = -ENODEV;
@@ -436,7 +434,6 @@ static int usblp_open(struct inode *inode, struct file *file)
}
out:
mutex_unlock (&usblp_mutex);
- unlock_kernel();
return retval;
}