]> git.dujemihanovic.xyz Git - u-boot.git/commit
board/amcc/taihu/flash.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Thu, 17 Nov 2011 09:50:01 +0000 (09:50 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Dec 2011 22:17:53 +0000 (23:17 +0100)
commitb63cb09719c993fc2812766c63df5a161fa2ac90
treecf0c783ee4f6c29dd20298e6925e8b114ee8770c
parent2975fe14d90b28d4bed894e783a827748c0e5a4b
board/amcc/taihu/flash.c: Fix GCC 4.6 build warnings

Fix:
flash.c: In function 'flash_erase_1':
flash.c:514:24: warning: variable 'l_sect' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'flash_erase_2':
flash.c:956:24: warning: variable 'l_sect' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
board/amcc/taihu/flash.c