mtd: mxc_nand: remove unused variable
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 14 Jun 2010 07:01:51 +0000 (09:01 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:04:01 +0000 (09:04 +0100)
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>
drivers/mtd/nand/mxc_nand.c

index 6e8aa34e4dfc34919bac727cd6028cb500746e11..68a7d37fd17c42552942d9cc30a0911050be8638 100644 (file)
@@ -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");