projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f6a36
)
MIPS: lib_mips/board.c: Remove unused variables
author
Shinya Kuribayashi
<skuribay@pobox.com>
Sat, 16 May 2009 00:12:09 +0000
(09:12 +0900)
committer
Shinya 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
patch
|
blob
|
history
diff --git
a/lib_mips/board.c
b/lib_mips/board.c
index 6fc4845eb680059683145faa85caf217323b6633..061901e9725a2d7f6d9f000a2522e59f84195658 100644
(file)
--- 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 */