summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ep93xx.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-01-27 10:35:05 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-01-27 14:05:38 +0100
commitb710ef411048cdbd0fb279b9529af2731fe97022 (patch)
treedf74908bed57f9da90d8689378f181c38f8aa68c /drivers/gpio/gpio-ep93xx.c
parent216f37366e86a6ddd34ed842cac3354f579ef48e (diff)
downloadlwn-b710ef411048cdbd0fb279b9529af2731fe97022.tar.gz
lwn-b710ef411048cdbd0fb279b9529af2731fe97022.zip
gpio: ep93xx: remove unused variable
This one was left behind by a previous cleanup patch: drivers/gpio/gpio-ep93xx.c: In function 'ep93xx_gpio_add_bank': drivers/gpio/gpio-ep93xx.c:366:34: error: unused variable 'ic' [-Werror=unused-variable] Fixes: 216f37366e86 ("gpio: ep93xx: Make irqchip immutable") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ep93xx.c')
-rw-r--r--drivers/gpio/gpio-ep93xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
index 192be99b1392..6cedf46efec6 100644
--- a/drivers/gpio/gpio-ep93xx.c
+++ b/drivers/gpio/gpio-ep93xx.c
@@ -363,8 +363,6 @@ static int ep93xx_gpio_add_bank(struct ep93xx_gpio_chip *egc,
girq = &gc->irq;
if (bank->has_irq || bank->has_hierarchical_irq) {
- struct irq_chip *ic;
-
gc->set_config = ep93xx_gpio_set_config;
egc->eic = devm_kcalloc(dev, 1,
sizeof(*egc->eic),