From: "Andi Kleen" Remove old-checksum.c Remove nowhere referenced file. (egrep "filename\." didn't find anything) Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton --- /dev/null | 33 --------------------------------- 1 files changed, 33 deletions(-) diff -L arch/x86_64/lib/old-checksum.c -puN arch/x86_64/lib/old-checksum.c~x86_64-remove-old-checksumc /dev/null --- 25/arch/x86_64/lib/old-checksum.c +++ /dev/null 2003-09-15 06:40:47.000000000 -0700 @@ -1,33 +0,0 @@ -/* - * Temporal C versions of the checksum functions until optimized assembler versions - * can go in. - */ - -#include - -/* - * Copy from userspace and compute checksum. If we catch an exception - * then zero the rest of the buffer. - */ -unsigned int csum_partial_copy_from_user (const char *src, char *dst, - int len, unsigned int sum, - int *err_ptr) -{ - int missing; - - missing = copy_from_user(dst, src, len); - if (missing) { - memset(dst + len - missing, 0, missing); - *err_ptr = -EFAULT; - } - - return csum_partial(dst, len, sum); -} - -unsigned int csum_partial_copy_nocheck(const char *src, char *dst, int len, unsigned int sum) -{ - memcpy(dst,src,len); - return csum_partial(dst,len,sum); -} - -/* Fallback for csum_and_copy_to_user is currently in include/net/checksum.h */ _