[U-Boot] [PATCH] Coldfire: cleanup compiler warning for lib-m68k unused variables.

Richard Retanubun RichardRetanubun at RuggedCom.com
Mon Mar 23 18:43:46 CET 2009


 From edb51aeee6b22b138ac725dac56ae4c55be704dc Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun at RuggedCom.com>
Date: Mon, 23 Mar 2009 13:35:48 -0400
Subject: [PATCH] Follow up to git commit:
  19b5b533ccd522abeb501d510750693c35e20456

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

Feel free to squash with other cleanup patches.

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 db45b00..67dc2e4 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.5



More information about the U-Boot mailing list