Commit 9fd5c675 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

USB: BKL removal: frontier

BKL was not needed at all. Removed without replacement.
Signed-off-by: default avatarOliver Neukum <oliver@neukum.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent eedf1f17
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/smp_lock.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/poll.h> #include <linux/poll.h>
...@@ -326,7 +325,6 @@ static int usb_alphatrack_open(struct inode *inode, struct file *file) ...@@ -326,7 +325,6 @@ static int usb_alphatrack_open(struct inode *inode, struct file *file)
int retval = 0; int retval = 0;
struct usb_interface *interface; struct usb_interface *interface;
lock_kernel();
nonseekable_open(inode, file); nonseekable_open(inode, file);
subminor = iminor(inode); subminor = iminor(inode);
...@@ -396,7 +394,6 @@ unlock_exit: ...@@ -396,7 +394,6 @@ unlock_exit:
unlock_disconnect_exit: unlock_disconnect_exit:
mutex_unlock(&disconnect_mutex); mutex_unlock(&disconnect_mutex);
unlock_kernel();
return retval; return retval;
} }
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include <linux/mutex.h> #include <linux/mutex.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
#include <linux/smp_lock.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/usb.h> #include <linux/usb.h>
#include <linux/poll.h> #include <linux/poll.h>
...@@ -344,7 +343,6 @@ static int usb_tranzport_open(struct inode *inode, struct file *file) ...@@ -344,7 +343,6 @@ static int usb_tranzport_open(struct inode *inode, struct file *file)
int retval = 0; int retval = 0;
struct usb_interface *interface; struct usb_interface *interface;
lock_kernel();
nonseekable_open(inode, file); nonseekable_open(inode, file);
subminor = iminor(inode); subminor = iminor(inode);
...@@ -415,7 +413,6 @@ unlock_exit: ...@@ -415,7 +413,6 @@ unlock_exit:
unlock_disconnect_exit: unlock_disconnect_exit:
mutex_unlock(&disconnect_mutex); mutex_unlock(&disconnect_mutex);
unlock_kernel();
return retval; return retval;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment