Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH] mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip() | Date | Fri, 3 Dec 2021 14:35:56 +0100 |
| |
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@linux-m68k.org>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
| |