Commit 4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7

Authored by Simon Glass
1 parent 385a08a60f

fdt: nios: Fix warning in ft_cpu_setup()

This function should not return a value.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Thomas Chou <thomas@wytron.com.tw>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

arch/nios2/cpu/fdt.c
... ... @@ -34,8 +34,6 @@
34 34 * Note: aliases in the dts are required for this
35 35 */
36 36 fdt_fixup_ethernet(blob);
37   -
38   - return 0;
39 37 }
40 38 #endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */