drivers/mtd/dataflash.c: Fix GCC 4.6 warning
authorAnatolij Gustschin <agust@denx.de>
Tue, 15 Nov 2011 13:20:53 +0000 (13:20 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:28:47 +0000 (21:28 +0100)
commiteec3ae68ad92a5af8642846321daad047e4f9cde
tree357deaada7c433e5c0e94f70794568dcc89b460b
parenteba46d69b35b8a6d7de8f17328f2cb274988714f
drivers/mtd/dataflash.c: Fix GCC 4.6 warning

Fix:
dataflash.c: In function 'AT91F_DataflashInit':
dataflash.c:42:6: warning: variable 'last_part' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/mtd/dataflash.c