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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:48:00 +0000 (13:48 -0800)
commitc9f36c5a61a49fd873fc38aa447934ef2417d1d8
tree8f8c0a724ef4854cd3859664a0cb3abc58c70e19
parentc953495fd19e3a96a2f927941d3b1423fc294132
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/mxc_nand.c