[PATCH] pinctrl: bcm2835: fix build warning in bcm2835_gpio_irq_handle_bank
stefan.wahren at i2se.com
Wed Sep 20 00:08:46 PDT 2017
Am 19.09.2017 um 21:04 schrieb Corentin Labbe:
> 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 at gmail.com>
Acked-by: Stefan Wahren <stefan.wahren at i2se.com>
More information about the linux-rpi-kernel