summaryrefslogtreecommitdiff
path: root/arch/nios2/cpu
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-03 17:57:24 -0600
committerSimon Glass <sjg@chromium.org>2015-04-10 08:15:24 -0600
commit4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7 (patch)
tree4a2a6c58b9dce2139124192a430ae04c905513a8 /arch/nios2/cpu
parent385a08a60f042061b004642d6b9bb6cfb794ad5a (diff)
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>
Diffstat (limited to 'arch/nios2/cpu')
-rw-r--r--arch/nios2/cpu/fdt.c2
1 files changed, 0 insertions, 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 */