git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef4ce0b
)
mtd: sh_flctl: Simplify the hardware ecc page read/write
author
Bastian Hecht
<hechtb@googlemail.com>
Mon, 14 May 2012 12:14:44 +0000
(14:14 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:03 +0000
(18:17 +0100)
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 <hechtb@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
No differences found