[U-Boot] [PATCH 2/2] MIPS: lib_mips/board.c: Remove unused variables

Shinya Kuribayashi skuribay at ruby.dti.ne.jp
Wed May 6 10:56:10 CEST 2009


This fixes the following build warnings:

board.c: In function 'board_init_r':
board.c:328: warning: unused variable 'i'
board.c:326: warning: unused variable 'e'

Signed-off-by: Shinya Kuribayashi <skuribay at pobox.com>
---
 lib_mips/board.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/lib_mips/board.c b/lib_mips/board.c
index 6fc4845..061901e 100644
--- a/lib_mips/board.c
+++ b/lib_mips/board.c
@@ -323,9 +323,8 @@ void board_init_r (gd_t *id, ulong dest_addr)
 #ifndef CONFIG_ENV_IS_NOWHERE
 	extern char * env_name_spec;
 #endif
-	char *s, *e;
+	char *s;
 	bd_t *bd;
-	int i;
 
 	gd = id;
 	gd->flags |= GD_FLG_RELOC;	/* tell others: relocation done */




More information about the U-Boot mailing list