public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] fdt: nios: Fix warning in ft_cpu_setup()
@ 2015-04-03 23:57 Simon Glass
  2015-04-04  8:38 ` Thomas Chou
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2015-04-03 23:57 UTC (permalink / raw)
  To: u-boot

This function should not return a value.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/nios2/cpu/fdt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/nios2/cpu/fdt.c b/arch/nios2/cpu/fdt.c
index 5024682..79f72aa 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 */
-- 
2.2.0.rc0.207.ga3a616c

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-10 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-03 23:57 [U-Boot] [PATCH] fdt: nios: Fix warning in ft_cpu_setup() Simon Glass
2015-04-04  8:38 ` Thomas Chou
2015-04-10 21:26   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox