author: Al Viro <viro@zeniv.linux.org.uk> 2020-07-22 22:14:36 -0400
committer: Al Viro <viro@zeniv.linux.org.uk> 2020-08-20 15:45:14 -0400
commit: 6e41c585e38ff696de3a11509a0ad0a11150b0c3
parent: 3ea7ca80d9c0ff606b5a129dce2354f771a9e4e8
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 11 deletions
diff --git a/lib/checksum.c b/lib/checksum.c
index c7861e84c526..6860d6b05a17 100644
--- a/lib/checksum.c
+++ b/lib/checksum.c
@@ -145,17 +145,6 @@ __sum16 ip_compute_csum(const void *buff, int len)
}
EXPORT_SYMBOL(ip_compute_csum);
-/*
- * copy from ds while checksumming, otherwise like csum_partial
- */
-__wsum
-csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum)
-{
- memcpy(dst, src, len);
- return csum_partial(dst, len, sum);
-}
-EXPORT_SYMBOL(csum_partial_copy_nocheck);
-
#ifndef csum_tcpudp_nofold
static inline u32 from64to32(u64 x)
{