[PATCH 1/4] usb microtek: remove unused semaphore

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

 



No current references, so removing it.

Signed-off-by: Daniel Walker <[email protected]>

---
 drivers/usb/image/microtek.c |    1 -
 drivers/usb/image/microtek.h |    1 -
 2 files changed, 2 deletions(-)

Index: linux-2.6.23/drivers/usb/image/microtek.c
===================================================================
--- linux-2.6.23.orig/drivers/usb/image/microtek.c
+++ linux-2.6.23/drivers/usb/image/microtek.c
@@ -794,7 +794,6 @@ static int mts_usb_probe(struct usb_inte
 
 	new_desc->usb_dev = dev;
 	new_desc->usb_intf = intf;
-	init_MUTEX(&new_desc->lock);
 
 	/* endpoints */
 	new_desc->ep_out = ep_out;
Index: linux-2.6.23/drivers/usb/image/microtek.h
===================================================================
--- linux-2.6.23.orig/drivers/usb/image/microtek.h
+++ linux-2.6.23/drivers/usb/image/microtek.h
@@ -39,7 +39,6 @@ struct mts_desc {
 	u8 ep_image;
 
 	struct Scsi_Host * host;
-	struct semaphore lock;
 
 	struct urb *urb;
 	struct mts_transfer_context context;

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux