]> git.sur5r.net Git - u-boot/commitdiff
MIPS: lib_mips/board.c: Remove unused variables
authorShinya Kuribayashi <skuribay@pobox.com>
Sat, 16 May 2009 00:12:09 +0000 (09:12 +0900)
committerShinya Kuribayashi <skuribay@pobox.com>
Sat, 16 May 2009 00:20:05 +0000 (09:20 +0900)
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@pobox.com>
lib_mips/board.c

index 6fc4845eb680059683145faa85caf217323b6633..061901e9725a2d7f6d9f000a2522e59f84195658 100644 (file)
@@ -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 */