summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-11-02 15:29:13 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-11-03 23:19:48 +0100
commitb53b8300bf8ef8acfb604e07d818ead723be6ea3 (patch)
tree3b95b6881a46a7ba4cc6ec16e02a0d9e6753f0d9 /drivers
parenteb3288992864616b66e6442fecfba9e3474e42c5 (diff)
downloadlinux-b53b8300bf8ef8acfb604e07d818ead723be6ea3.tar.bz2
pinctrl: armada-37xx: remove unused variable
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 <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pinctrl/mvebu/pinctrl-armada-37xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
index ac299a6cdfd6..e800d55c340b 100644
--- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
+++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
@@ -626,8 +626,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