Commit d99388aa authored by Daniel Walker's avatar Daniel Walker Committed by Greg Kroah-Hartman

USB: microtek: remove unused semaphore

No current references, so removing it.
Signed-off-by: default avatarDaniel Walker <dwalker@mvista.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f476fbab
...@@ -794,7 +794,6 @@ static int mts_usb_probe(struct usb_interface *intf, ...@@ -794,7 +794,6 @@ static int mts_usb_probe(struct usb_interface *intf,
new_desc->usb_dev = dev; new_desc->usb_dev = dev;
new_desc->usb_intf = intf; new_desc->usb_intf = intf;
init_MUTEX(&new_desc->lock);
/* endpoints */ /* endpoints */
new_desc->ep_out = ep_out; new_desc->ep_out = ep_out;
......
...@@ -39,7 +39,6 @@ struct mts_desc { ...@@ -39,7 +39,6 @@ struct mts_desc {
u8 ep_image; u8 ep_image;
struct Scsi_Host * host; struct Scsi_Host * host;
struct semaphore lock;
struct urb *urb; struct urb *urb;
struct mts_transfer_context context; struct mts_transfer_context context;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment