[PATCH] nand: onenand: samsung: remove variable 'tmp' set but not used

Miquel Raynal miquel.raynal at bootlin.com
Tue Jan 14 09:08:49 PST 2020

On Fri, 2019-11-22 at 12:08:54 UTC, Chen Wandun wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
> drivers/mtd/nand/onenand/samsung_mtd.c: In function s3c_onenand_check_lock_status:
> drivers/mtd/nand/onenand/samsung_mtd.c:731:6: warning: variable tmp set but not used [-Wunused-but-set-variable]
> Signed-off-by: Chen Wandun <chenwandun at huawei.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.


More information about the linux-mtd mailing list