On Tue, 2019-09-03 at 02:52:29 UTC, zhengbin wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/mtd/devices/spear_smi.c: In function spear_smi_probe_config_dt: > drivers/mtd/devices/spear_smi.c:780:32: warning: variable flash_info set but not used [-Wunused-but-set-variable] > > It is not used since commit 6551ab5d30d6 ("mtd: > add device-tree support to spear_smi") > > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: zhengbin <zhengbin13@xxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/