aboutsummaryrefslogtreecommitdiffstats
path: root/arch/c6x/lib/csum_64plus.S
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-20 13:36:09 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-20 17:45:32 -0700
commitf1bfd71c8662f20d53e71ef4e18bfb0e5677c27f (patch)
treee03129400d3773e75ec851fae105001656e679de /arch/c6x/lib/csum_64plus.S
parentnet: fs_enet: remove redundant null check (diff)
downloadlinux-dev-f1bfd71c8662f20d53e71ef4e18bfb0e5677c27f.tar.xz
linux-dev-f1bfd71c8662f20d53e71ef4e18bfb0e5677c27f.zip
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 '')
-rw-r--r--arch/c6x/lib/csum_64plus.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/c6x/lib/csum_64plus.S b/arch/c6x/lib/csum_64plus.S
index 8e625a30fd43..9c07127485d1 100644
--- a/arch/c6x/lib/csum_64plus.S
+++ b/arch/c6x/lib/csum_64plus.S
@@ -10,8 +10,8 @@
#include <linux/linkage.h>
;
-;unsigned int csum_partial_copy(const char *src, char * dst,
-; int len, int sum)
+;unsigned int csum_partial_copy_nocheck(const char *src, char * dst,
+; int len, int sum)
;
; A4: src
; B4: dst
@@ -21,7 +21,7 @@
;
.text
-ENTRY(csum_partial_copy)
+ENTRY(csum_partial_copy_nocheck)
MVC .S2 ILC,B30
MV .D1X B6,A31 ; given csum
@@ -149,7 +149,7 @@ L10: ADD .D1 A31,A9,A9
BNOP .S2 B3,4
MVC .S2 B30,ILC
-ENDPROC(csum_partial_copy)
+ENDPROC(csum_partial_copy_nocheck)
;
;unsigned short