linux-next: build warning after merge of the nand tree
From: Stephen Rothwell
Date: Sun Oct 07 2018 - 20:38:53 EST
Hi Boris,
After merging the nand tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
drivers/mtd/nand/raw/nand_toshiba.c: In function 'toshiba_nand_read_page_benand':
drivers/mtd/nand/raw/nand_toshiba.c:54:19: warning: unused variable 'mtd' [-Wunused-variable]
struct mtd_info *mtd = nand_to_mtd(chip);
^~~
drivers/mtd/nand/raw/nand_toshiba.c: In function 'toshiba_nand_read_subpage_benand':
drivers/mtd/nand/raw/nand_toshiba.c:68:19: warning: unused variable 'mtd' [-Wunused-variable]
struct mtd_info *mtd = nand_to_mtd(chip);
^~~
Introduced by commit
fe8b76ec9886 ("mtd: rawnand: toshiba: Pass a single nand_chip object to the status helper")
--
Cheers,
Stephen Rothwell
Attachment:
pgpIxg54MxL1P.pgp
Description: OpenPGP digital signature