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

Message ID 49C7CA52.60800@RuggedCom.com
State Superseded, archived
Delegated to: Jason Jin
Headers show

Commit Message

Richard Retanubun March 23, 2009, 5:43 p.m. UTC
From edb51aeee6b22b138ac725dac56ae4c55be704dc Mon Sep 17 00:00:00 2001
From: Richard Retanubun <RichardRetanubun@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@RuggedCom.com>
---
  lib_m68k/board.c |    3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)

Patch
diff mbox

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