mtd: onenand: samsung: remove set but not used variable
authorChen Wandun <chenwandun@huawei.com>
Fri, 22 Nov 2019 12:08:54 +0000 (20:08 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 21 Jan 2020 18:59:34 +0000 (19:59 +0100)
commit75b3ff79c5656d75b18501c56610f79596dd1441
treebb9048e9b4e33c3ec6a6a82095947758d9d42943
parent296a32b54a73898ad8828630423b399b5d1cb3d7
mtd: onenand: samsung: remove set but not used variable

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@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/onenand/samsung_mtd.c