From c8b492a86d71d43fb32e29282e6405663177b9e4 Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Thu, 14 Jan 2010 16:07:37 +0100 Subject: [PATCH] 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 --- drivers/usb/class/usblp.c | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.30.2