Patchwork [10/12] mxc_nand: remove unused variables.

login
register
mail settings
Submitter Sascha Hauer
Date Aug. 10, 2010, 12:14 p.m.
Message ID <1281442473-31428-2-git-send-email-s.hauer@pengutronix.de>
Download mbox | patch
Permalink /patch/61376/
State New
Headers show

Comments

Sascha Hauer - Aug. 10, 2010, 12:14 p.m.
From: John Ogness <john.ogness@linutronix.de>

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/mtd/nand/mxc_nand.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index a85b60a..3767dcc 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1189,8 +1189,6 @@  static int mxcnd_suspend(struct platform_device *pdev, pm_message_t state)
 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");