[PATCH 2/3] mxc_nand: remove unused variables
John Ogness
john.ogness at linutronix.de
Tue Aug 10 07:35:22 EDT 2010
This patch removes some unused variable declarations.
This patch is against the latest patches from Sascha Hauer.
Signed-off-by: John Ogness <john.ogness at linutronix.de>
---
drivers/mtd/nand/mxc_nand.c | 2 --
1 file changed, 2 deletions(-)
Index: linux-2.6-454a740/drivers/mtd/nand/mxc_nand.c
===================================================================
--- linux-2.6-454a740.orig/drivers/mtd/nand/mxc_nand.c
+++ linux-2.6-454a740/drivers/mtd/nand/mxc_nand.c
@@ -1221,8 +1221,6 @@ static int mxcnd_suspend(struct platform
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");
More information about the linux-arm-kernel
mailing list