[PATCH 3/6] S3C24xx/NFC: Remove double function setup

Juergen Beisert jbe at pengutronix.de
Sat Mar 12 14:14:54 EST 2011


From: Juergen Beisert <juergen at kreuzholzen.de>

Three lines above this setting is already done.

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
 drivers/mtd/nand/nand_s3c2410.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/nand_s3c2410.c b/drivers/mtd/nand/nand_s3c2410.c
index 05a6a87..94c075e 100644
--- a/drivers/mtd/nand/nand_s3c2410.c
+++ b/drivers/mtd/nand/nand_s3c2410.c
@@ -449,7 +449,6 @@ static int s3c24x0_nand_probe(struct device_d *dev)
 	chip->ecc.calculate = s3c2410_nand_calculate_ecc;
 	chip->ecc.correct = s3c2410_nand_correct_data;
 	chip->ecc.hwctl = s3c2410_nand_enable_hwecc;
-	chip->ecc.calculate = s3c2410_nand_calculate_ecc;
 
 	/* our hardware capabilities */
 	chip->ecc.mode = NAND_ECC_HW;
-- 
1.7.2.3




More information about the barebox mailing list