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

From: Daniel Walker
Date: Fri Dec 21 2007 - 16:14:51 EST


No current references, so removing it.

Signed-off-by: Daniel Walker <dwalker@xxxxxxxxxx>

---
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/