mtd: mxc_nand: remove duplicated ecc_stats counting
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Fri, 29 Nov 2013 13:14:29 +0000 (14:14 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 1 Apr 2014 23:58:40 +0000 (00:58 +0100)
commita0809936e2ad052ef0fbdba0e258bfaf0c0dc9bc
tree2d4f6000d2457b6a6eae8060c1bf4c196c75add9
parent78d926c3e43b2332393d3b203d62934f8fc73401
mtd: mxc_nand: remove duplicated ecc_stats counting

commit 0566477762f9e174e97af347ee9c865f908a5647 upstream.

The ecc_stats.corrected count variable will already be incremented in
the above framework-layer just after this callback.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/mtd/nand/mxc_nand.c