From patchwork Thu Nov 2 14:29:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10038797 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 79C17602D8 for ; Thu, 2 Nov 2017 14:30:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6BE9729095 for ; Thu, 2 Nov 2017 14:30:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 606FD290A2; Thu, 2 Nov 2017 14:30:31 +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=-3.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM 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 EE346290A1 for ; Thu, 2 Nov 2017 14:30:29 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=vWs7YQqfT7UhhDoljStyFOdrWSXQLRDMM++6aIvMRHA=; b=SUJ OK00kq7t/iAVXj8vPgfno4eN6iauCjPJquYO/2kfBdQ1OcoH+4YFhZh1SmGE3ryIMK6gpJGSw14i/ gOP4fismnSO+rhRTxpRTx/ocCNoN60W/Loq36U0ahlrGnkJz/OdVhND4+N8AYHWjceUJewAHqpQUG 44AQtUPNPkGWOFILYbEdCMitmQcu0diYbid/+GOSfgatJyu6oJVBGdYtD+tu3jpxRCKeD+gZ7Kn1P EnuEtQK+VRJ3WGDh6JewIaFJeejNt2xYCnlXnM+HbvI7lMUFJ/pQ8mLCZxmjToHKqhRZnod7UCmXN OLHIz5XUhImAR/KNR+5YrKCmDo4ejvg==; 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 1eAGVe-0003td-5d; Thu, 02 Nov 2017 14:30:18 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eAGVa-00027U-6f for linux-arm-kernel@lists.infradead.org; Thu, 02 Nov 2017 14:30:16 +0000 Received: from wuerfel.lan ([109.193.157.232]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0MDHpc-1dvwdA0c6m-00Gasf; Thu, 02 Nov 2017 15:29:36 +0100 From: Arnd Bergmann To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Linus Walleij Subject: [PATCH] pinctrl: armada-37xx: remove unused variable Date: Thu, 2 Nov 2017 15:29:13 +0100 Message-Id: <20171102142932.774199-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:iwg4O1Iqf1JSKe9VY0AggBcFH01Eov72V+WZAPgy+wf1zydJRFm ADfduGw5Be2v3hcpJ9kGl4jINEBkZKntOWDBP1lLTT3AM15hstJSsqGzigQYhIxvLUSvXKM 7k8iyd3VqCjinSoLgkJIhI5Bd/9BJhvr+7PYeREIjXmtuVF+18gQNtcEu6oryWuYNgCSyXS nVlp9KluXBf1XaT0wVJbw== X-UI-Out-Filterresults: notjunk:1; V01:K0:aQiy3uuOOUM=:3tE6hpkaKPUHnw8ohOWDFM JazjNWxfLTXlju9G4XQHCorucAKLGovF5zLn9nm4LlAO0w4PwhgGDdevtLnnko1HZXnf7I5Pt gEoiq9esPhrvzvGKXeKektER/lQEKqdtcVv3+V7Pr2XbtNzGNhvyKlh7ckWn7beVTZZDzUJsa vuWNuDtjeOoLrtzTxiSmQVXGTLRoMFzTAu23PFOkZV+/StpmqS0fL247wHH11kWxWf4DSYwQ3 KDtfcWMbXYljc4bcQt7E915mcDCjMkiccZJWbgyoQJXXzENdpQRxqVruWFpAaIT2y7QD48uQv Cq6p7QrWtHQawQJr91vKjTh8qdM3uMLdhIuoxSrqwbE4Yr11LumEcxiztCD8uW42EyOmjVJlV 4EkJa29Hg7QjjQu/dZYM4xcytPhKSYYv+WDID+nz9W6UVgs62DP4yg4X3BP647RvFb87/qEfw e18kN6WZXA9ikkDJ4wuIsxKEQWkkcB9cgzWR8w+P4rTZvLJammuorlY5IKkQ1cYitgEhv5Rvv J+Ar/W8UBYy+G3r43YPoMImL/kbU+ihVe7QKAH1Dr0PLdP/AiK6qaVR7q4o4GQZNoXMbUoAGV E0DowvkSf39iHl+DoaB2QRw7xc6UFVdmXFoxXmTwjr/7vyxO6eKDvWO2UIzklEB58LhdkbjhW +WpryglqwJtIV62M3luWy0J30Sh6L6V/Qx07XPafw4dSGIM2eQbQJ6eFZ82AC2lMvnuusqhfK uyq/o7r+bnrAib1r9Qz15ywtnuC8e5VTxSg6mA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171102_073014_652253_680ABE2A X-CRM114-Status: GOOD ( 10.45 ) 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: Arnd Bergmann , Ken Ma , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Thierry Reding , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 A cleanup left behind a temporary variable that is now unused: drivers/pinctrl/mvebu/pinctrl-armada-37xx.c: In function 'armada_37xx_irq_startup': drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:693:20: error: unused variable 'chip' [-Werror=unused-variable] This removes the declarations as well. Fixes: 3ee9e605caea ("pinctrl: armada-37xx: Stop using struct gpio_chip.irq_base") Signed-off-by: Arnd Bergmann --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index 68a4af12fb0a..2149f8d955cf 100644 --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -690,8 +690,6 @@ static void armada_37xx_irq_handler(struct irq_desc *desc) static unsigned int armada_37xx_irq_startup(struct irq_data *d) { - struct gpio_chip *chip = irq_data_get_irq_chip_data(d); - /* * The mask field is a "precomputed bitmask for accessing the * chip registers" which was introduced for the generic