projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b998b0
)
arch/powerpc/lib/board.c: fix build warning
author
Wolfgang Denk
<wd@denx.de>
Fri, 4 Nov 2011 15:55:08 +0000
(15:55 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 7 Nov 2011 21:09:35 +0000
(22:09 +0100)
Fix:
board.c: In function 'board_init_r':
board.c:633:8: warning: unused variable 's' [-Wunused-variable]
Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/lib/board.c
b/arch/powerpc/lib/board.c
index 35992aed9078eeba075cde9a378d8af2664c20b5..ff5888e4ccb3a9c86c0c145f09eb965b59727737 100644
(file)
--- a/
arch/powerpc/lib/board.c
+++ b/
arch/powerpc/lib/board.c
@@
-629,9
+629,6
@@
void board_init_r(gd_t *id, ulong dest_addr)
bd_t *bd;
ulong malloc_start;
-#if defined(CONFIG_SYS_FLASH_CHECKSUM) || defined(CONFIG_CMD_NET)
- char *s;
-#endif
#ifndef CONFIG_SYS_NO_FLASH
ulong flash_size;
#endif