[PATCH] xtensa: drop bcopy implementation

Max Filippov posted 1 patch 2 years, 8 months ago
There is a newer version of this series
arch/xtensa/lib/memcopy.S | 15 ---------------
1 file changed, 15 deletions(-)
[PATCH] xtensa: drop bcopy implementation
Posted by Max Filippov 2 years, 8 months ago
bcopy is not exported and there's no in-tree users of this function.
Drop it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 arch/xtensa/lib/memcopy.S | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/arch/xtensa/lib/memcopy.S b/arch/xtensa/lib/memcopy.S
index b20d206bcb71..98c3662bed8c 100644
--- a/arch/xtensa/lib/memcopy.S
+++ b/arch/xtensa/lib/memcopy.S
@@ -274,21 +274,6 @@ WEAK(memcpy)
 
 ENDPROC(__memcpy)
 
-/*
- * void bcopy(const void *src, void *dest, size_t n);
- */
-
-ENTRY(bcopy)
-
-	abi_entry_default
-	# a2=src, a3=dst, a4=len
-	mov	a5, a3
-	mov	a3, a2
-	mov	a2, a5
-	j	.Lmovecommon	# go to common code for memmove+bcopy
-
-ENDPROC(bcopy)
-
 /*
  * void *memmove(void *dst, const void *src, size_t len);
  *
-- 
2.30.2