summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-14 09:01:51 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 09:04:01 +0100
commite2c848833c1835b6261e46836b2317fc9c3c2787 (patch)
tree83344786ca07ae8f49d4ef4b90467037f0212ec5
parent1d90d2c3d4ef8ba4f8e05b3578900397333b1bd1 (diff)
downloadop-kernel-dev-e2c848833c1835b6261e46836b2317fc9c3c2787.zip
op-kernel-dev-e2c848833c1835b6261e46836b2317fc9c3c2787.tar.gz
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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r--drivers/mtd/nand/mxc_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 6e8aa34..68a7d37 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");
OpenPOWER on IntegriCloud