avr32:board.c: fix compile warning
authorAndreas Bießmann <andreas.devel@googlemail.com>
Fri, 25 May 2012 10:29:33 +0000 (12:29 +0200)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 4 Jun 2012 07:21:34 +0000 (09:21 +0200)
This patch fixes following warning:

---8<---
board.c: In function 'board_init_r':
board.c:257: warning: unused variable 's'
--->8---

Patch de30122bb58fee7b0f94bcfabab595b6ad757336 missed to remove this variable
too.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/avr32/lib/board.c

index b390a6c8f8bbaf08f187e3bd0fe9892ee6b4d683..d7a64b48727aedaf5879ace43dd1faf9f3b759e0 100644 (file)
@@ -254,7 +254,6 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
 #ifndef CONFIG_ENV_IS_NOWHERE
        extern char * env_name_spec;
 #endif
-       char *s;
        bd_t *bd;
 
        gd = new_gd;