board/jse/flash.c: fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Sat, 29 Oct 2011 09:37:40 +0000 (09:37 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 3 Nov 2011 19:39:10 +0000 (20:39 +0100)
commit8e119b03c53d6fae93e045a7884d306f7f4348aa
tree6a42f00aed255de97685e7b221a8a22a7b1c2622
parent675b46bbac183b33a69c55b2c0dcc76ff02f4567
board/jse/flash.c: fix GCC 4.6 build warnings

Fix:
flash.c: In function 'flash_erase':
flash.c:304:24: warning: variable 'l_sect' set but not used
[-Wunused-but-set-variable]

In addition, remove some dead code.

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