aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2008-02-05 02:57:42 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-25 00:16:33 -0400
commitd99388aa0a504f69532db353a976ec133361bb4f (patch)
tree3b450db779afeb944064c17ff0cd5b2961f74b96 /drivers/usb
parentf476fbaba7b2051bafdb527eea1a8bed649187d4 (diff)
USB: microtek: remove unused semaphore
No current references, so removing it. Signed-off-by: Daniel Walker <dwalker@mvista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/image/microtek.c1
-rw-r--r--drivers/usb/image/microtek.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c
index bc207e3c21f5..0badbbe2fd24 100644
--- a/drivers/usb/image/microtek.c
+++ b/drivers/usb/image/microtek.c
@@ -794,7 +794,6 @@ static int mts_usb_probe(struct usb_interface *intf,
794 794
795 new_desc->usb_dev = dev; 795 new_desc->usb_dev = dev;
796 new_desc->usb_intf = intf; 796 new_desc->usb_intf = intf;
797 init_MUTEX(&new_desc->lock);
798 797
799 /* endpoints */ 798 /* endpoints */
800 new_desc->ep_out = ep_out; 799 new_desc->ep_out = ep_out;
diff --git a/drivers/usb/image/microtek.h b/drivers/usb/image/microtek.h
index d5d62a939058..ccce318f20a0 100644
--- a/drivers/usb/image/microtek.h
+++ b/drivers/usb/image/microtek.h
@@ -39,7 +39,6 @@ struct mts_desc {
39 u8 ep_image; 39 u8 ep_image;
40 40
41 struct Scsi_Host * host; 41 struct Scsi_Host * host;
42 struct semaphore lock;
43 42
44 struct urb *urb; 43 struct urb *urb;
45 struct mts_transfer_context context; 44 struct mts_transfer_context context;