From: Uwe Kleine-König Date: Mon, 14 Jun 2010 07:01:51 +0000 (+0200) Subject: mtd: mxc_nand: remove unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e2c848833c1835b6261e46836b2317fc9c3c2787;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mtd: mxc_nand: remove unused variable This fixes: drivers/mtd/nand/mxc_nand.c: In function 'mxcnd_resume': drivers/mtd/nand/mxc_nand.c:901: warning: unused variable 'host' Removing this variable was missed in 9c14b153e6af. Signed-off-by: Uwe Kleine-König Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 6e8aa34e4dfc..68a7d37fd17c 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -896,7 +896,6 @@ static int mxcnd_resume(struct platform_device *pdev) { struct mtd_info *mtd = platform_get_drvdata(pdev); struct nand_chip *nand_chip = mtd->priv; - struct mxc_nand_host *host = nand_chip->priv; int ret = 0; DEBUG(MTD_DEBUG_LEVEL0, "MXC_ND : NAND resume\n");