Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Bartosz Golaszewski
b710ef41 216f3736

-2
-2
drivers/gpio/gpio-ep93xx.c
··· 363 363 364 364 girq = &gc->irq; 365 365 if (bank->has_irq || bank->has_hierarchical_irq) { 366 - struct irq_chip *ic; 367 - 368 366 gc->set_config = ep93xx_gpio_set_config; 369 367 egc->eic = devm_kcalloc(dev, 1, 370 368 sizeof(*egc->eic),