]> err.no Git - linux-2.6/commitdiff
[MTD] [NAND] Compile fix in rfc_from4.c
authorMariusz Kozlowski <m.kozlowski@tuxland.pl>
Fri, 1 Dec 2006 09:59:49 +0000 (09:59 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 1 Dec 2006 09:59:49 +0000 (09:59 +0000)
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/rtc_from4.c

index 02deec3ec264dabc3c50868574ccbac4f35f6db3..9189ec8f243eda85e2d89d5dd4037064d13ad2fc 100644 (file)
@@ -456,7 +456,7 @@ static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this,
                rtn = nand_do_read(mtd, page, len, &retlen, buf);
 
                /* if read failed or > 1-bit error corrected */
-               if (rtn || (mtd->ecc_stats.corrected - corrected) > 1) {
+               if (rtn || (mtd->ecc_stats.corrected - corrected) > 1)
                        er_stat |= 1 << 1;
                kfree(buf);
        }