From: Ian Abbott Date: Thu, 7 Jul 2011 01:18:49 +0000 (+0000) Subject: lib/checksum.c: optimize do_csum a bit X-Git-Tag: v3.1-rc1~316^2~204 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be0e1e788b0973147b6b83cc940676cc26009eb7;p=pandora-kernel.git lib/checksum.c: optimize do_csum a bit Reduce the number of variables modified by the loop in do_csum() by 1, which seems like a good idea. On Nios II (a RISC CPU with 3-operand instruction set) it reduces the loop from 7 to 6 instructions, including the conditional branch. Signed-off-by: Ian Abbott Signed-off-by: David S. Miller --- Reading git-diff-tree failed