GCC4.6: Squash warnings in onenand_base.c
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 5 Nov 2011 23:59:52 +0000 (00:59 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 Nov 2011 21:24:50 +0000 (22:24 +0100)
commit24ccca5eb9e25474e273c0f6dd70220534ce1746
treee6f2f756da2ebaef3f02d9cfc1a01c0d1f4b6686
parent5e8baf878ea0976b9ec5f46d64cec5810ba9c195
GCC4.6: Squash warnings in onenand_base.c

onenand_base.c: In function ‘onenand_do_lock_cmd’:
onenand_base.c:1946:6: warning: variable ‘wp_status_mask’ set but not used
[-Wunused-but-set-variable]
onenand_base.c: In function ‘onenand_check_maf’:
onenand_base.c:2229:8: warning: variable ‘name’ set but not used
[-Wunused-but-set-variable]
onenand_base.c: In function ‘flexonenand_get_boundary’:
onenand_base.c:2258:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c