Skip to content

Commit b710ef4

Browse files
arndbBartosz Golaszewski
authored andcommitted
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: 216f373 ("gpio: ep93xx: Make irqchip immutable") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 216f373 commit b710ef4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpio/gpio-ep93xx.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,6 @@ static int ep93xx_gpio_add_bank(struct ep93xx_gpio_chip *egc,
363363

364364
girq = &gc->irq;
365365
if (bank->has_irq || bank->has_hierarchical_irq) {
366-
struct irq_chip *ic;
367-
368366
gc->set_config = ep93xx_gpio_set_config;
369367
egc->eic = devm_kcalloc(dev, 1,
370368
sizeof(*egc->eic),

0 commit comments

Comments
 (0)