board/mpl/common/flash.c: fix GCC 4.6 build warning
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:05 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:09:23 +0000 (22:09 +0100)
commitee6ed89c5b144f621969a2ef7188b52ec0c2ac9b
treee6c23b4a6c800968125866b0e777b8ce09b403ab
parentb6a467d73d8847e2307e7e95768e3287d51a9fe6
board/mpl/common/flash.c: fix GCC 4.6 build warning

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

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Denis Peter <d.peter@mpl.ch>
board/mpl/common/flash.c