board/ti/omap1610inn/flash.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 11:14:29 +0000 (12:14 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 10 Dec 2011 22:11:48 +0000 (23:11 +0100)
commit2ccf26da5e088639ce8ad0dbbd7ae3a503fa82f7
tree0577042ea9a1b264364ab675d52198c7b286b0d2
parent85e04b7af70a1acebe89de9e5be13daac495410e
board/ti/omap1610inn/flash.c: Fix GCC 4.6 build warnings

Fix:
flash.c: In function 'flash_get_offsets':
flash.c:139:10: warning: variable 'pOrgDef' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'flash_erase':
flash.c:280:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'write_data':
flash.c:456:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Acked-by: Tom Rini <trini@ti.com>
board/ti/omap1610inn/flash.c