lkml.org 
[lkml]   [2021]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
Date
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

\
 
 \ /
  Last update: 2021-12-03 14:36    [W:0.034 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site