lkml.org 
[lkml]   [2007]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH 1/4] usb microtek: remove unused semaphore
From
No current references, so removing it.

Signed-off-by: Daniel Walker <dwalker@mvista.com>

---
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;
--


\
 
 \ /
  Last update: 2007-12-21 22:17    [from the cache]
©2003-2011 Jasper Spaans