Browse Source

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>
Simon Glass 10 years ago
parent
commit
4bde2e9d60
1 changed files with 0 additions and 2 deletions
  1. 0 2
      arch/nios2/cpu/fdt.c

+ 0 - 2
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 */