mtd: rawnand: fsl_upm: Remove unused mtd var
authorBoris Brezillon <boris.brezillon@collabora.com>
Wed, 3 Jun 2020 13:49:13 +0000 (15:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 11:07:31 +0000 (13:07 +0200)
commit0b36d8e1db13f4ac1ef6ea057ae43fa88160c725
tree33b32c98c2db87510b922dc4b8930d4cf61081b4
parent6469e715bc576eda0ea65fd5dcdbe2c31518d76c
mtd: rawnand: fsl_upm: Remove unused mtd var

[ Upstream commit ccc49eff77bee2885447a032948959a134029fe3 ]

The mtd var in fun_wait_rnb() is now unused, let's get rid of it and
fix the warning resulting from this unused var.

Fixes: 50a487e7719c ("mtd: rawnand: Pass a nand_chip object to chip->dev_ready()")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200603134922.1352340-2-boris.brezillon@collabora.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/nand/raw/fsl_upm.c