[PATCH 13/13] usb:BKL removal:frontier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From dda002ecb89200c97025d93cdaecfac92242c916 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oliver@xxxxxxxxxx>
Date: Thu, 14 Jan 2010 15:51:31 +0100
Subject: [PATCH 13/13] usb:BKL removal:frontier

BKL was not needed at all. Removed without replacement.

Signed-off-by: Oliver Neukum <oliver@xxxxxxxxxx>
---
 drivers/staging/frontier/alphatrack.c |    2 --
 drivers/staging/frontier/tranzport.c  |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/frontier/alphatrack.c b/drivers/staging/frontier/alphatrack.c
index 1cbebf2..15aed87 100644
--- a/drivers/staging/frontier/alphatrack.c
+++ b/drivers/staging/frontier/alphatrack.c
@@ -325,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);
 
@@ -395,7 +394,6 @@ unlock_exit:
 
 unlock_disconnect_exit:
 	mutex_unlock(&disconnect_mutex);
-	unlock_kernel();
 
 	return retval;
 }
diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c
index 796fb89..ef8fcc8 100644
--- a/drivers/staging/frontier/tranzport.c
+++ b/drivers/staging/frontier/tranzport.c
@@ -343,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);
 
@@ -414,7 +413,6 @@ unlock_exit:
 
 unlock_disconnect_exit:
 	mutex_unlock(&disconnect_mutex);
-	unlock_kernel();
 
 	return retval;
 }
-- 
1.6.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux