[PATCH] mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
Miquel Raynal
miquel.raynal at bootlin.com
Fri Dec 3 05:35:56 PST 2021
On Mon, 2021-11-22 at 13:21:38 UTC, Geert Uytterhoeven wrote:
> 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: 758b56f58b66bebc ("mtd: rawnand: Pass a nand_chip object to chip->select_chip()")
> Signed-off-by: Geert Uytterhoeven <geert at linux-m68k.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list