summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2005-03-14 18:30:48 +0000
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 12:51:48 +0200
commit3b946e3f3dc0de473a88b4106f01731a5c016689 (patch)
tree00c8d854ef2d58d661dc09915befe6b70fc03809 /drivers/mtd/nand
parent0514cd938009de1d6b3239d98c3cf2a67b620103 (diff)
downloadop-kernel-dev-3b946e3f3dc0de473a88b4106f01731a5c016689.zip
op-kernel-dev-3b946e3f3dc0de473a88b4106f01731a5c016689.tar.gz
[MTD] NAND: Fixed unused loop variable
Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/nand_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 4c94ec6..cc3cd27 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -59,7 +59,7 @@
* The AG-AND chips have nice features for speed improvement,
* which are not supported yet. Read / program 4 pages in one go.
*
- * $Id: nand_base.c,v 1.135 2005/03/01 09:32:45 gleixner Exp $
+ * $Id: nand_base.c,v 1.136 2005/03/14 18:30:44 bjd Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -2291,7 +2291,7 @@ static int nand_block_markbad (struct mtd_info *mtd, loff_t ofs)
*/
int nand_scan (struct mtd_info *mtd, int maxchips)
{
- int i, j, nand_maf_id, nand_dev_id, busw, maf_id;
+ int i, nand_maf_id, nand_dev_id, busw, maf_id;
struct nand_chip *this = mtd->priv;
/* Get buswidth to select the correct functions*/
OpenPOWER on IntegriCloud