board/cm4008/flash.c: Fix GCC 4.6 warnings
authorAnatolij Gustschin <agust@denx.de>
Tue, 15 Nov 2011 13:20:57 +0000 (13:20 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:35:31 +0000 (21:35 +0100)
commit33ad5ef059a82a159de39efdb42c4fef88c542fc
tree10124e6032ab3a6ac8606593a1230502527a7eeb
parent49adbe8109b56b837fb99b7945ab465f6b24acf5
board/cm4008/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/cm4008/flash.c