diff options
author | Ben Dooks <ben@simtec.co.uk> | 2005-03-14 13:30:48 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 06:51:48 -0400 |
commit | 3b946e3f3dc0de473a88b4106f01731a5c016689 (patch) | |
tree | 00c8d854ef2d58d661dc09915befe6b70fc03809 /drivers/mtd/nand | |
parent | 0514cd938009de1d6b3239d98c3cf2a67b620103 (diff) |
[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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 4c94ec632aed..cc3cd277064b 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -59,7 +59,7 @@ | |||
59 | * The AG-AND chips have nice features for speed improvement, | 59 | * The AG-AND chips have nice features for speed improvement, |
60 | * which are not supported yet. Read / program 4 pages in one go. | 60 | * which are not supported yet. Read / program 4 pages in one go. |
61 | * | 61 | * |
62 | * $Id: nand_base.c,v 1.135 2005/03/01 09:32:45 gleixner Exp $ | 62 | * $Id: nand_base.c,v 1.136 2005/03/14 18:30:44 bjd Exp $ |
63 | * | 63 | * |
64 | * This program is free software; you can redistribute it and/or modify | 64 | * This program is free software; you can redistribute it and/or modify |
65 | * it under the terms of the GNU General Public License version 2 as | 65 | * 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 | */ | 2291 | */ |
2292 | int nand_scan (struct mtd_info *mtd, int maxchips) | 2292 | int nand_scan (struct mtd_info *mtd, int maxchips) |
2293 | { | 2293 | { |
2294 | int i, j, nand_maf_id, nand_dev_id, busw, maf_id; | 2294 | int i, nand_maf_id, nand_dev_id, busw, maf_id; |
2295 | struct nand_chip *this = mtd->priv; | 2295 | struct nand_chip *this = mtd->priv; |
2296 | 2296 | ||
2297 | /* Get buswidth to select the correct functions*/ | 2297 | /* Get buswidth to select the correct functions*/ |