USB: microtek: remove unused semaphore
authorDaniel Walker <dwalker@mvista.com>
Tue, 5 Feb 2008 07:57:42 +0000 (23:57 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:33 +0000 (21:16 -0700)
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>
drivers/usb/image/microtek.c
drivers/usb/image/microtek.h

index bc207e3c21f51f193bd6de504b8add1761670cd8..0badbbe2fd24e91b1459f7bb873060dcf1c5048a 100644 (file)
@@ -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;
index d5d62a93905885900ed64ca6596da41f55ea5942..ccce318f20a0af4496691f0792f839bf33762ee3 100644 (file)
@@ -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;