diff options
author | Daniel Walker <dwalker@mvista.com> | 2008-02-05 07:57:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 04:16:33 (GMT) |
commit | d99388aa0a504f69532db353a976ec133361bb4f (patch) | |
tree | 3b450db779afeb944064c17ff0cd5b2961f74b96 | |
parent | f476fbaba7b2051bafdb527eea1a8bed649187d4 (diff) | |
download | linux-d99388aa0a504f69532db353a976ec133361bb4f.tar.xz |
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>
-rw-r--r-- | drivers/usb/image/microtek.c | 1 | ||||
-rw-r--r-- | drivers/usb/image/microtek.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c index bc207e3..0badbbe 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, new_desc->usb_dev = dev; new_desc->usb_intf = intf; - init_MUTEX(&new_desc->lock); /* endpoints */ new_desc->ep_out = ep_out; diff --git a/drivers/usb/image/microtek.h b/drivers/usb/image/microtek.h index d5d62a9..ccce318 100644 --- a/drivers/usb/image/microtek.h +++ b/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; |