diff options
author | Oliver Neukum <oliver@neukum.org> | 2010-01-14 10:13:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:32 -0500 |
commit | 9fd5c675864263e9f0e6bdb2d752bb380b32a01b (patch) | |
tree | 8f1c4cb051916600d872520ad3bab23a9996959c | |
parent | eedf1f17d40e24ae80007bcbe7b7e997c32995c8 (diff) |
USB: BKL removal: frontier
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>
-rw-r--r-- | drivers/staging/frontier/alphatrack.c | 3 | ||||
-rw-r--r-- | drivers/staging/frontier/tranzport.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/frontier/alphatrack.c b/drivers/staging/frontier/alphatrack.c index e2f82f0dbad8..15aed87fe1bb 100644 --- a/drivers/staging/frontier/alphatrack.c +++ b/drivers/staging/frontier/alphatrack.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <linux/mutex.h> | 41 | #include <linux/mutex.h> |
42 | 42 | ||
43 | #include <linux/uaccess.h> | 43 | #include <linux/uaccess.h> |
44 | #include <linux/smp_lock.h> | ||
45 | #include <linux/input.h> | 44 | #include <linux/input.h> |
46 | #include <linux/usb.h> | 45 | #include <linux/usb.h> |
47 | #include <linux/poll.h> | 46 | #include <linux/poll.h> |
@@ -326,7 +325,6 @@ static int usb_alphatrack_open(struct inode *inode, struct file *file) | |||
326 | int retval = 0; | 325 | int retval = 0; |
327 | struct usb_interface *interface; | 326 | struct usb_interface *interface; |
328 | 327 | ||
329 | lock_kernel(); | ||
330 | nonseekable_open(inode, file); | 328 | nonseekable_open(inode, file); |
331 | subminor = iminor(inode); | 329 | subminor = iminor(inode); |
332 | 330 | ||
@@ -396,7 +394,6 @@ unlock_exit: | |||
396 | 394 | ||
397 | unlock_disconnect_exit: | 395 | unlock_disconnect_exit: |
398 | mutex_unlock(&disconnect_mutex); | 396 | mutex_unlock(&disconnect_mutex); |
399 | unlock_kernel(); | ||
400 | 397 | ||
401 | return retval; | 398 | return retval; |
402 | } | 399 | } |
diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c index 1d3f7dc90f4f..ef8fcc8c67bd 100644 --- a/drivers/staging/frontier/tranzport.c +++ b/drivers/staging/frontier/tranzport.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/mutex.h> | 40 | #include <linux/mutex.h> |
41 | 41 | ||
42 | #include <linux/uaccess.h> | 42 | #include <linux/uaccess.h> |
43 | #include <linux/smp_lock.h> | ||
44 | #include <linux/input.h> | 43 | #include <linux/input.h> |
45 | #include <linux/usb.h> | 44 | #include <linux/usb.h> |
46 | #include <linux/poll.h> | 45 | #include <linux/poll.h> |
@@ -344,7 +343,6 @@ static int usb_tranzport_open(struct inode *inode, struct file *file) | |||
344 | int retval = 0; | 343 | int retval = 0; |
345 | struct usb_interface *interface; | 344 | struct usb_interface *interface; |
346 | 345 | ||
347 | lock_kernel(); | ||
348 | nonseekable_open(inode, file); | 346 | nonseekable_open(inode, file); |
349 | subminor = iminor(inode); | 347 | subminor = iminor(inode); |
350 | 348 | ||
@@ -415,7 +413,6 @@ unlock_exit: | |||
415 | 413 | ||
416 | unlock_disconnect_exit: | 414 | unlock_disconnect_exit: |
417 | mutex_unlock(&disconnect_mutex); | 415 | mutex_unlock(&disconnect_mutex); |
418 | unlock_kernel(); | ||
419 | 416 | ||
420 | return retval; | 417 | return retval; |
421 | } | 418 | } |