Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information