]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fdt: nios: Fix warning in ft_cpu_setup()
authorSimon Glass <sjg@chromium.org>
Fri, 3 Apr 2015 23:57:24 +0000 (17:57 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:39:37 +0000 (14:39 +0200)
This function should not return a value.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/cpu/fdt.c

index 502468208820a25b9f72905a10a8e49bdf418b9a..79f72aa12ff3aad3e2337826317ec2245c82649f 100644 (file)
@@ -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 */