patch-2.0.6 linux/arch/alpha/lib/checksum.c
Next file: linux/arch/alpha/lib/csum_partial_copy.c
Previous file: linux/arch/alpha/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Fri Jul 12 12:29:46 1996
- Orig file:
v2.0.5/linux/arch/alpha/lib/checksum.c
- Orig date:
Mon Jul 10 16:59:58 1995
diff -u --recursive --new-file v2.0.5/linux/arch/alpha/lib/checksum.c linux/arch/alpha/lib/checksum.c
@@ -139,28 +139,6 @@
}
/*
- * the same as csum_partial, but copies from src while it
- * checksums
- *
- * here even more important to align src and dst on a 32-bit (or even
- * better 64-bit) boundary
- */
-
-unsigned int csum_partial_copy(char *src, char *dst, int len, int sum)
-{
- /*
- * The whole idea is to do the copy and the checksum at
- * the same time, but we do it the easy way now.
- *
- * At least csum on the source, not destination, for cache
- * reasons..
- */
- sum = csum_partial(src, len, sum);
- memcpy(dst, src, len);
- return sum;
-}
-
-/*
* this routine is used for miscellaneous IP-like checksums, mainly
* in icmp.c
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov