aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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 d53f9499f936..93b5f85d7ceb 100644
--- a/drivers/usb/class/usblp.c
+++ b/drivers/usb/class/usblp.c
@@ -56,7 +56,6 @@
56#include <linux/slab.h> 56#include <linux/slab.h>
57#include <linux/lp.h> 57#include <linux/lp.h>
58#include <linux/mutex.h> 58#include <linux/mutex.h>
59#include <linux/smp_lock.h>
60#undef DEBUG 59#undef DEBUG
61#include <linux/usb.h> 60#include <linux/usb.h>
62 61
@@ -396,7 +395,6 @@ static int usblp_open(struct inode *inode, struct file *file)
396 if (minor < 0) 395 if (minor < 0)
397 return -ENODEV; 396 return -ENODEV;
398 397
399 lock_kernel();
400 mutex_lock (&usblp_mutex); 398 mutex_lock (&usblp_mutex);
401 399
402 retval = -ENODEV; 400 retval = -ENODEV;
@@ -436,7 +434,6 @@ static int usblp_open(struct inode *inode, struct file *file)
436 } 434 }
437out: 435out:
438 mutex_unlock (&usblp_mutex); 436 mutex_unlock (&usblp_mutex);
439 unlock_kernel();
440 return retval; 437 return retval;
441} 438}
442 439