mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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 85ae9e512f ("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 <[email protected]>
Acked-by: Stefan Wahren <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>