From: Oliver Neukum Date: Thu, 14 Jan 2010 15:07:37 +0000 (+0100) Subject: usb: BKL removal: usblp X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c8b492a86d71d43fb32e29282e6405663177b9e4;p=openwrt%2Fstaging%2Fblogic.git usb: BKL removal: usblp BKL was not needed at all. Removed without replacement. Signed-off-by: Oliver Neukum Acked-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index d53f9499f936..93b5f85d7ceb 100644 --- a/drivers/usb/class/usblp.c +++ b/drivers/usb/class/usblp.c @@ -56,7 +56,6 @@ #include #include #include -#include #undef DEBUG #include @@ -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; }