crc32: minor optimizations and cleanup
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 15 Dec 2009 02:01:33 +0000 (18:01 -0800)
committerMatt Sealey <matt@genesi-usa.com>
Mon, 30 Aug 2010 15:15:36 +0000 (10:15 -0500)
commit70da33849fa25c68d9e6224b1e5eea2f5071fdaf
treec7d48d6ca320f2ef919bf07f965245b4422651e1
parent14ddd61dcfc885ecca9c4f355c9bfb8012d69b6f
crc32: minor optimizations and cleanup

Move common crc body to new function crc32_body() cleaup and micro
optimize crc32_body for speed and less size.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/crc32.c