Skip to content

Commit

Permalink
USB: BKL removal: frontier
Browse files Browse the repository at this point in the history
BKL was not needed at all. Removed without replacement.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent eedf1f1 commit 9fd5c67
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/frontier/alphatrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <linux/mutex.h>

#include <linux/uaccess.h>
#include <linux/smp_lock.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/poll.h>
Expand Down Expand Up @@ -326,7 +325,6 @@ static int usb_alphatrack_open(struct inode *inode, struct file *file)
int retval = 0;
struct usb_interface *interface;

lock_kernel();
nonseekable_open(inode, file);
subminor = iminor(inode);

Expand Down Expand Up @@ -396,7 +394,6 @@ static int usb_alphatrack_open(struct inode *inode, struct file *file)

unlock_disconnect_exit:
mutex_unlock(&disconnect_mutex);
unlock_kernel();

return retval;
}
Expand Down
3 changes: 0 additions & 3 deletions drivers/staging/frontier/tranzport.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#include <linux/mutex.h>

#include <linux/uaccess.h>
#include <linux/smp_lock.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/poll.h>
Expand Down Expand Up @@ -344,7 +343,6 @@ static int usb_tranzport_open(struct inode *inode, struct file *file)
int retval = 0;
struct usb_interface *interface;

lock_kernel();
nonseekable_open(inode, file);
subminor = iminor(inode);

Expand Down Expand Up @@ -415,7 +413,6 @@ static int usb_tranzport_open(struct inode *inode, struct file *file)

unlock_disconnect_exit:
mutex_unlock(&disconnect_mutex);
unlock_kernel();

return retval;
}
Expand Down

0 comments on commit 9fd5c67

Please sign in to comment.