summaryrefslogtreecommitdiff
path: root/arch/nios2/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-20 14:36:09 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-21 03:45:32 +0300
commitf1bfd71c8662f20d53e71ef4e18bfb0e5677c27f (patch)
treee03129400d3773e75ec851fae105001656e679de /arch/nios2/include
parentcebd2cac905e5a665bc992c7725f98bf6cd4a21d (diff)
downloadlinux-f1bfd71c8662f20d53e71ef4e18bfb0e5677c27f.tar.xz
arch, net: remove the last csum_partial_copy() leftovers
Most of the tree only uses and implements csum_partial_copy_nocheck, but the c6x and lib/checksum.c implement a csum_partial_copy that isn't used anywere except to define csum_partial_copy. Get rid of this pointless alias. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/nios2/include')
-rw-r--r--arch/nios2/include/asm/checksum.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/nios2/include/asm/checksum.h b/arch/nios2/include/asm/checksum.h
index ec39698d3bea..b4316c361729 100644
--- a/arch/nios2/include/asm/checksum.h
+++ b/arch/nios2/include/asm/checksum.h
@@ -12,10 +12,9 @@
/* Take these from lib/checksum.c */
extern __wsum csum_partial(const void *buff, int len, __wsum sum);
-extern __wsum csum_partial_copy(const void *src, void *dst, int len,
+__wsum csum_partial_copy_nocheck(const void *src, void *dst, int len,
__wsum sum);
-#define csum_partial_copy_nocheck(src, dst, len, sum) \
- csum_partial_copy((src), (dst), (len), (sum))
+#define csum_partial_copy_nocheck csum_partial_copy_nocheck
extern __sum16 ip_fast_csum(const void *iph, unsigned int ihl);
extern __sum16 ip_compute_csum(const void *buff, int len);