Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758579AbXLUVOt (ORCPT ); Fri, 21 Dec 2007 16:14:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754442AbXLUVOU (ORCPT ); Fri, 21 Dec 2007 16:14:20 -0500 Received: from homer.mvista.com ([63.81.120.158]:45285 "EHLO dwalker1.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754492AbXLUVOS (ORCPT ); Fri, 21 Dec 2007 16:14:18 -0500 Message-Id: <20071221205854.408865412@mvista.com> User-Agent: quilt/0.46-1 Date: Fri, 21 Dec 2007 00:00:01 -0800 Subject: [PATCH 1/4] usb microtek: remove unused semaphore Message-Id: <20071221205848.989157559@mvista.com> User-Agent: quilt/0.46-1 From: Daniel Walker To: akpm@linux-foundation.org Cc: mingo@elte.hu, linux-kernel@vger.kernel.org, linux@bohmer.net, jonathan@jonmasters.org, matthias.kaehlcke@gmail.com, kjwinchester@gmail.com Content-Disposition: inline; filename=usb-microtek-remove-unused-semaphore.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1249 Lines: 40 No current references, so removing it. Signed-off-by: Daniel Walker --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/