Commit b710ef41 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Bartosz Golaszewski

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: 216f3736 ("gpio: ep93xx: Make irqchip immutable")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent 216f3736
...@@ -363,8 +363,6 @@ static int ep93xx_gpio_add_bank(struct ep93xx_gpio_chip *egc, ...@@ -363,8 +363,6 @@ static int ep93xx_gpio_add_bank(struct ep93xx_gpio_chip *egc,
girq = &gc->irq; girq = &gc->irq;
if (bank->has_irq || bank->has_hierarchical_irq) { if (bank->has_irq || bank->has_hierarchical_irq) {
struct irq_chip *ic;
gc->set_config = ep93xx_gpio_set_config; gc->set_config = ep93xx_gpio_set_config;
egc->eic = devm_kcalloc(dev, 1, egc->eic = devm_kcalloc(dev, 1,
sizeof(*egc->eic), sizeof(*egc->eic),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment