board/ti/omap730p2/flash.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Fri, 9 Dec 2011 11:14:31 +0000 (12:14 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 10 Dec 2011 22:12:40 +0000 (23:12 +0100)
commitf23b7ea0e6852c898934582db5dbf2d0f22c69cd
tree4441d3e4c31d7d0f5672358278b25f7f0d50cfc5
parentc81f9cdd2201a6fb770a82879e471b96370e18e1
board/ti/omap730p2/flash.c: Fix GCC 4.6 build warnings

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

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Dave Peverley <dpeverley@mpc-data.co.uk>
Acked-by: Tom Rini <trini@ti.com>
board/ti/omap730p2/flash.c