linux-stable/drivers/mtd
Geert Uytterhoeven 5e2a4d0225 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
commit 33a0da68fb upstream.

drivers/mtd/nand/raw/mpc5121_nfc.c: In function ‘ads5121_select_chip’:
drivers/mtd/nand/raw/mpc5121_nfc.c:294:19: warning: unused variable ‘mtd’ [-Wunused-variable]
  294 |  struct mtd_info *mtd = nand_to_mtd(nand);
      |                   ^~~

Fixes: 758b56f58b ("mtd: rawnand: Pass a nand_chip object to chip->select_chip()")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211122132138.3899138-1-geert@linux-m68k.org
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-01 17:24:40 +01:00
..
chips mtd: fixup CFI on ixp4xx 2022-01-20 09:19:19 +01:00
devices mtd: phram: fix a double free issue in error path 2020-04-23 10:36:45 +02:00
hyperbus
lpddr mtd: lpddr: fix excessive stack usage with clang 2020-10-29 09:57:46 +01:00
maps mtd: fixup CFI on ixp4xx 2022-01-20 09:19:19 +01:00
nand mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip() 2022-02-01 17:24:40 +01:00
parsers mtd: partitions: redboot: seek fis-index-block in the right node 2021-07-14 16:53:40 +02:00
spi-nor mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare() 2021-11-17 09:48:45 +01:00
tests
ubi ubi: check kthread_should_stop() after the setting of task state 2020-11-05 11:43:33 +01:00
Kconfig
Makefile
ftl.c
inftlcore.c
inftlmount.c
mtd_blkdevs.c
mtdblock.c
mtdblock_ro.c
mtdchar.c mtd: require write permissions for locking and badblock ioctls 2021-05-14 09:44:19 +02:00
mtdconcat.c
mtdcore.c mtd: core: don't remove debugfs directory if device is in use 2021-11-17 09:48:45 +01:00
mtdcore.h
mtdoops.c mtd: mtdoops: Don't write panic data twice 2020-10-29 09:57:47 +01:00
mtdpart.c
mtdsuper.c
mtdswap.c
nftlcore.c
nftlmount.c
rfd_ftl.c
sm_ftl.c
sm_ftl.h
ssfdc.c