pin_usage[] is an empty array, no need to iterate over it. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/boards/friendlyarm-tiny210/tiny210.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/arm/boards/friendlyarm-tiny210/tiny210.c b/arch/arm/boards/friendlyarm-tiny210/tiny210.c index c96aa83059..c47f488207 100644 --- a/arch/arm/boards/friendlyarm-tiny210/tiny210.c +++ b/arch/arm/boards/friendlyarm-tiny210/tiny210.c @@ -31,11 +31,6 @@ #include <mach/s3c-clocks.h> #include <mach/s3c-generic.h> - -static const unsigned pin_usage[] = { - /* TODO */ -}; - static struct gpio_led leds[] = { { .gpio = GPJ20, @@ -91,8 +86,6 @@ console_initcall(tiny210_console_init); static int tiny210_devices_init(void) { int i; - for (i = 0; i < ARRAY_SIZE(pin_usage); i++) - s3c_gpio_mode(pin_usage[i]); for (i = 0; i < ARRAY_SIZE(leds); i++) { leds[i].active_low = 1; -- 2.29.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox