Disabled the added summing routine to preserve code space, fixed some comments.

This commit is contained in:
christiaans 2005-12-15 08:26:00 +00:00
parent 02b575e9e4
commit 60dc1c22f7

View File

@ -109,11 +109,12 @@ lwip_standard_chksum(void *dataptr, u16_t len)
#endif #endif
Curt McDowell #if 0
Broadcom Corp.
csm@broadcom.com
/* /*
* Curt McDowell
* Broadcom Corp.
* csm@broadcom.com
*
* IP checksum two bytes at a time with support for * IP checksum two bytes at a time with support for
* unaligned buffer. * unaligned buffer.
* Works for len up to and including 0x20000. * Works for len up to and including 0x20000.
@ -159,8 +160,6 @@ lwip_standard_chksum2(void *dataptr, int len)
return sum; return sum;
} }
#if 0
/** /**
* An optimized checksum routine. Basically, it uses loop-unrolling on * An optimized checksum routine. Basically, it uses loop-unrolling on
* the checksum loop, treating the head and tail bytes specially, whereas * the checksum loop, treating the head and tail bytes specially, whereas