From: Simon Glass Date: Fri, 3 Apr 2015 23:57:24 +0000 (-0600) Subject: fdt: nios: Fix warning in ft_cpu_setup() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7;p=u-boot.git fdt: nios: Fix warning in ft_cpu_setup() This function should not return a value. Signed-off-by: Simon Glass Acked-by: Thomas Chou --- 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 */