Commit 3b946e3f authored by Ben Dooks's avatar Ben Dooks Committed by Thomas Gleixner

[MTD] NAND: Fixed unused loop variable

Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 0514cd93
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
* The AG-AND chips have nice features for speed improvement, * The AG-AND chips have nice features for speed improvement,
* which are not supported yet. Read / program 4 pages in one go. * 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 * 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 * 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) ...@@ -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 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; struct nand_chip *this = mtd->priv;
/* Get buswidth to select the correct functions*/ /* Get buswidth to select the correct functions*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment