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: 117819 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2241424qgn; Thu, 2 Nov 2017 07:30:19 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SNZZcD4NDGecz69b6Q72Jiwyii0oMcci4/7ZREZrjnrgdxRkbWmSnEVxzxyU3z/prdk0dM X-Received: by 10.159.254.4 with SMTP id r4mr3377538pls.353.1509633019789; Thu, 02 Nov 2017 07:30:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509633019; cv=none; d=google.com; s=arc-20160816; b=Jke3iJX7JyQ0WYglCGkdmQXIXwKjfh7PRelA2JKaaY28Dov5nV8PHNNzOkZ0CqlGM9 5dhFZoNlBX/cXinIwQ9MKgf3Qhxg4PfWUfiyBEovIEBoBQguUDdzNNMKMet5f0+43G0C k4X2QJ8FLkU8QgChq62uD1/7uAgYsaqti0tH+R3of8zoDtlNZTBXreaw8cnj+eh3rW6p G61/GsLWAV6Ks+velbVOtP20jFwjb88CClsRQ4s+PxUuvxCqgqcrezdtUSm53Plt09kv NkFTblQuxzXLc5rOMFaKWgJUIlRdhQ/yaJiYiCYwiRhG46PVOgVez+kxGq4Da1G94ZpV NjJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7of2SyTaPdTj26QiAAa3NNK8oBE05/rRY99mfe2mdP8=; b=PyBXrbPZ/cwjOrpeVFxoUIinXTs4xL6gWBoFgZXSjSiw52RjOjc6LWmYD8yAeWBR5H hD0edv8l9Vt28SDab6wqsLwHv481lp9C5eXlVgaGYRCvWgKSy0+FIygfxOPQ5JzQLopx zzr9c2+/Fd0qh4OZOYD7NCSQxY9d3XIxxIbRZsO1Z/CK6TEgY0TnlHGv+CVkTbZv46dG xok2RPBDtX2SSFjnyyxJLCq1OLT32YMAQ8bJzisygw0IlPhxBbnL58wCbbY7l0/39e6c 7clfrbZVBH8qjb80LHLXnMcAwITXaV+eSiINMCVIRM6OiyFrkYuAmqIYKJB02rhJsEoG FUng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u185si3604713pgc.790.2017.11.02.07.30.19; Thu, 02 Nov 2017 07:30:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933273AbdKBOaS (ORCPT + 6 others); Thu, 2 Nov 2017 10:30:18 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:54341 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933021AbdKBOaS (ORCPT ); Thu, 2 Nov 2017 10:30:18 -0400 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 Cc: Arnd Bergmann , Ken Ma , Thierry Reding , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org 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== Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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