]> git.sur5r.net Git - u-boot/commitdiff
board/tqc/tqm8272/tqm8272.c: Fix GCC 4.6 build warning:
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:53 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:15:53 +0000 (22:15 +0100)
Fix:
tqm8272.c: In function 'initdram':
tqm8272.c:462:14: warning: variable 'lsize' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
board/tqc/tqm8272/tqm8272.c

index 9efb54125ec126f1d3fbc90d76a8f3bcb042858d..5aca227789bb564c4a6d42918faa7f53cae7d335 100644 (file)
@@ -459,10 +459,9 @@ phys_size_t initdram (int board_type)
 #ifndef CONFIG_SYS_RAMBOOT
        long size8, size9;
 #endif
-       long psize, lsize;
+       long psize;
 
        psize = 16 * 1024 * 1024;
-       lsize = 0;
 
        memctl->memc_psrt = CONFIG_SYS_PSRT;
        memctl->memc_mptpr = CONFIG_SYS_MPTPR;