crc32: minor optimizations and cleanup
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 15 Dec 2009 02:01:33 +0000 (18:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:35 +0000 (08:53 -0800)
commitddcaccbc17d7d15d0f050519cfeb0e45acbd9b15
tree13cd6b7839b9bc012e2c3ccb112f23d7daab8294
parent14f1b75b1d31673d7ab6ac6d2f8fe7f23c705229
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