[U-Boot] [PATCH] Compier warning cleanup

TsiChung Liew tsicliew at gmail.com
Mon Jun 1 14:09:02 CEST 2009


From: Richard Retanubun <RichardRetanubun at RuggedCom.com>

Follow up to git commit: 19b5b533ccd522abeb501d510750693c35e20456

Cleanup on compiler warnings on unused variables now that
bd->bi_enetaddr is no longer used.

Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>
---
 lib_m68k/board.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lib_m68k/board.c b/lib_m68k/board.c
index 584d1ff..7d4ffc7 100644
--- a/lib_m68k/board.c
+++ b/lib_m68k/board.c
@@ -438,9 +438,8 @@ board_init_f (ulong bootflag)
 void board_init_r (gd_t *id, ulong dest_addr)
 {
 	cmd_tbl_t *cmdtp;
-	char *s, *e;
+	char *s;
 	bd_t *bd;
-	int i;
 	extern void malloc_bin_reloc (void);
 
 #ifndef CONFIG_ENV_IS_NOWHERE
-- 
1.5.6.4



More information about the U-Boot mailing list