]> git.dujemihanovic.xyz Git - u-boot.git/commit
CFI: fix warning: variable ... set but not used
authorWolfgang Denk <wd@denx.de>
Wed, 5 Oct 2011 20:48:12 +0000 (22:48 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Oct 2011 21:24:49 +0000 (23:24 +0200)
commit419a1fe95497688cf2129472acf3158c24e96ad4
tree5cb3036fc7d42fcaab448feb3184abb760898b71
parent80c6abc306ad8baebcd02486167dbb557d90b2e3
CFI: fix warning: variable ... set but not used

Fix:
cfi_mtd.c: In function 'cfi_mtd_init':
cfi_mtd.c:226:19: warning: variable 'mtd_list' set but not used [-Wunused-but-set-variable]
cfi_mtd.c: In function 'cfi_mtd_init':
cfi_mtd.c:225:6: warning: unused variable 'devices_found'
cfi_mtd.c: In function 'cfi_mtd_init':
cfi_mtd.c:226:19: warning: variable 'mtd_list' set but not used [-Wunused-but-set-variable]
[-Wunused-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
common/cmd_mtdparts.c
drivers/mtd/cfi_mtd.c