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

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


Hello,

Miquel Raynal <miquel.raynal at bootlin.com> wrote on Tue, 14 Jan 2020
18:08:49 +0100:

> 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.

As an FYI, the subject prefix should have been "mtd: onenand: samsung:". I
changed it before applying.


Thanks,
Miquèl



More information about the linux-mtd mailing list