diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2011-07-07 03:18:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-07 13:52:24 +0200 |
commit | be0e1e788b0973147b6b83cc940676cc26009eb7 (patch) | |
tree | 75083bdb5b5d9e266b0c632406d67f69505d527c /kernel/trace/trace_kprobe.c | |
parent | macvtap: macvtapTX zero-copy support (diff) | |
download | linux-be0e1e788b0973147b6b83cc940676cc26009eb7.tar.xz linux-be0e1e788b0973147b6b83cc940676cc26009eb7.zip |
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 <abbotti@mev.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
0 files changed, 0 insertions, 0 deletions