diff options
author | Wolfgang Denk <wd@denx.de> | 2011-11-04 15:55:08 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-07 22:09:35 +0100 |
commit | 1c2931d4ecd6ef51d4d33f3375d3e3eb5c2fe0b3 (patch) | |
tree | cf56e55d2170071d8a664f936138d9dba62239ce /arch/powerpc | |
parent | 9b998b0c52c3227aa54b486294c85e840c8b7120 (diff) | |
download | u-boot-imx-1c2931d4ecd6ef51d4d33f3375d3e3eb5c2fe0b3.zip u-boot-imx-1c2931d4ecd6ef51d4d33f3375d3e3eb5c2fe0b3.tar.gz u-boot-imx-1c2931d4ecd6ef51d4d33f3375d3e3eb5c2fe0b3.tar.bz2 |
arch/powerpc/lib/board.c: fix build warning
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/lib/board.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/lib/board.c b/arch/powerpc/lib/board.c index 35992ae..ff5888e 100644 --- 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 |