[U-Boot] [PATCH 2/3] nds32: delete unused local variable

Mike Frysinger vapier at gentoo.org
Tue Aug 7 01:46:36 CEST 2012


Fixes the build-time warning:
	board.c: In function 'board_init_r':
	board.c:304: warning: unused variable 's'

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 arch/nds32/lib/board.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 7121313..f5de266 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -301,7 +301,6 @@ void board_init_f(ulong bootflag)
  */
 void board_init_r(gd_t *id, ulong dest_addr)
 {
-	char *s;
 	bd_t *bd;
 	ulong malloc_start;
 
-- 
1.7.9.7



More information about the U-Boot mailing list