board/cm41xx/flash.c: Fix GCC 4.6 warnings
authorAnatolij Gustschin <agust@denx.de>
Tue, 15 Nov 2011 13:20:56 +0000 (13:20 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:32:13 +0000 (21:32 +0100)
commit49adbe8109b56b837fb99b7945ab465f6b24acf5
tree46d8f3d63b643834a6e8eb707aa4d88c85572db7
parentda5406655ae4762c36a221b6b0ac6f1c334ae660
board/cm41xx/flash.c: Fix GCC 4.6 warnings

Fix:
flash.c: In function 'flash_erase':
flash.c:209:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'write_data':
flash.c:373:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Anatolij Gustschin <agust@denx.de>
board/cm41xx/flash.c