pinctrl: bcm2835: fix build warning in bcm2835_gpio_irq_handle_bank
authorCorentin Labbe <clabbe.montjoie@gmail.com>
Tue, 19 Sep 2017 19:04:56 +0000 (21:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Sep 2017 12:11:10 +0000 (14:11 +0200)
commitc84284e59d60514539cb06741972adf60b14a5a3
treef8bd3bd9a83422d517bbd8acde61b8c4803d28e8
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
pinctrl: bcm2835: fix build warning in bcm2835_gpio_irq_handle_bank

This patch fix the following build warning:
drivers/pinctrl/bcm/pinctrl-bcm2835.c:376:15: warning: variable 'type' set but not used [-Wunused-but-set-variable]

Furthermore, it is unused for a long time, at least since commit 85ae9e512f43 ("pinctrl: bcm2835: switch to GPIOLIB_IRQCHIP")
where a "FIXME no clue why the code looks up the type here" was added.
A year after, nobody answeered this question, so its time to remove it.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c