From 4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 3 Apr 2015 17:57:24 -0600 Subject: [PATCH] fdt: nios: Fix warning in ft_cpu_setup() This function should not return a value. Signed-off-by: Simon Glass Acked-by: Thomas Chou --- arch/nios2/cpu/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/nios2/cpu/fdt.c b/arch/nios2/cpu/fdt.c index 5024682088..79f72aa12f 100644 --- a/arch/nios2/cpu/fdt.c +++ b/arch/nios2/cpu/fdt.c @@ -34,7 +34,5 @@ void ft_cpu_setup(void *blob, bd_t *bd) * Note: aliases in the dts are required for this */ fdt_fixup_ethernet(blob); - - return 0; } #endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */ -- 2.25.1