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

From: Miquel Raynal
Date: Tue Jan 14 2020 - 12:29:54 EST


Hello,

Miquel Raynal <miquel.raynal@xxxxxxxxxxx> 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@xxxxxxxxxx>
>
> 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