From: Bastian Hecht Date: Mon, 14 May 2012 12:14:44 +0000 (+0200) Subject: mtd: sh_flctl: Simplify the hardware ecc page read/write X-Git-Tag: v3.7-rc1~70^2~161 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50ed399cc3fbe5e16de78f7b62a39b8280f9001b;p=pandora-kernel.git mtd: sh_flctl: Simplify the hardware ecc page read/write As the equation mtd->writesize == eccsteps * eccsize holds, we can simplify the code. The second loop of the 1st hunk is never entered, so we delete it. Signed-off-by: Bastian Hecht Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed