From patchwork Fri Feb 24 01:54:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Cvek X-Patchwork-Id: 9589249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 38CC66042D for ; Fri, 24 Feb 2017 01:54:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B25728768 for ; Fri, 24 Feb 2017 01:54:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F89028792; Fri, 24 Feb 2017 01:54:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD46028768 for ; Fri, 24 Feb 2017 01:54:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:Subject:From:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=35OWXoQX+H4Q497rFNpkToRbAIjFPDeqoWMuh6NhIog=; b=L5vR/y7eRMXWoD G4E2yH5jisc4EywDusbb9p9z+ZU9lrvNVgnFfZKVBus2Khd5Oi9HcT1o8rorCNeeTvVQmjOrolUEN 3oLchOYu0O9U5sOYqzWM8UaRKk9nOfbAzjUROgdj4nYXuEu4+0aZoqPGvpf5bnW2rz6watpSRZXIy /9FT0vtmtd5GdYTf5O9v6VZtGvE3K+wRI/3XuMT9CKFlwfLRDnrthpUeWUYq1TtolTP+nGJpOeSYw q5SBq7ujJZ87r16U578lpPWsi3u0GJmq49aIdNQzFmieD2boOQy9NQQ2IT/DZgRGrFQBARq45dbHM XIZ6XddmaHwuDmUDFyyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ch55C-00083e-2d; Fri, 24 Feb 2017 01:54:06 +0000 Received: from bubo.tul.cz ([147.230.16.1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ch54l-0007oK-Sh for linux-arm-kernel@lists.infradead.org; Fri, 24 Feb 2017 01:53:42 +0000 X-Virus-Scanned: amavisd-new at tul.cz Received: from [IPv6:2001:1ae9:ff1:f191:79ae:65e2:b790:b57f] (unknown [IPv6:2001:1ae9:ff1:f191:79ae:65e2:b790:b57f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bubo.tul.cz (Postfix) with ESMTPSA id 69FED18050A23; Fri, 24 Feb 2017 02:53:14 +0100 (CET) From: Petr Cvek Subject: [PATCH v2 1/2] usb: gadget: pxa27x: Remove duplicate function prototype To: robert.jarzmik@free.fr, daniel@zonque.org, haojian.zhuang@gmail.com, balbi@kernel.org References: Message-ID: <9f125a32-1d2a-54ea-ccd8-8d8b494c6f3a@tul.cz> Date: Fri, 24 Feb 2017 02:54:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170223_175340_178946_FA336D69 X-CRM114-Status: UNSURE ( 7.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Functions udc_enable() and udc_disable() have a duplicated prototype. Remove it. Signed-off-by: Petr Cvek Acked-by: Robert Jarzmik --- drivers/usb/gadget/udc/pxa27x_udc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c index e1335ad5bce9..821bd8f4cae6 100644 --- a/drivers/usb/gadget/udc/pxa27x_udc.c +++ b/drivers/usb/gadget/udc/pxa27x_udc.c @@ -1608,9 +1608,6 @@ static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active) return 0; } -static void udc_enable(struct pxa_udc *udc); -static void udc_disable(struct pxa_udc *udc); - /** * pxa_udc_vbus_session - Called by external transceiver to enable/disable udc * @_gadget: usb gadget