patch-2.4.20 linux-2.4.20/arch/ia64/lib/checksum.c
Next file: linux-2.4.20/arch/ia64/lib/clear_page.S
Previous file: linux-2.4.20/arch/ia64/lib/Makefile
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/ia64/lib/checksum.c
- Orig date:
Tue Jul 31 10:30:08 2001
diff -urN linux-2.4.19/arch/ia64/lib/checksum.c linux-2.4.20/arch/ia64/lib/checksum.c
@@ -66,15 +66,6 @@
extern unsigned long do_csum (const unsigned char *, long);
/*
- * This is a version of ip_compute_csum() optimized for IP headers,
- * which always checksum on 4 octet boundaries.
- */
-unsigned short ip_fast_csum(unsigned char * iph, unsigned int ihl)
-{
- return ~do_csum(iph, ihl*4);
-}
-
-/*
* computes the checksum of a memory block at buff, length len,
* and adds in "sum" (32-bit)
*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)