mtd: mxc_nand: remove unused variable

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Aug 4 06:59:02 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e2c848833c1835b6261e46836b2317fc9c3c2787
Commit:     e2c848833c1835b6261e46836b2317fc9c3c2787
Parent:     1d90d2c3d4ef8ba4f8e05b3578900397333b1bd1
Author:     Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
AuthorDate: Mon Jun 14 09:01:51 2010 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Aug 2 09:04:01 2010 +0100

    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 at pengutronix.de>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/mxc_nand.c |    1 -
 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");



More information about the linux-mtd-cvs mailing list