[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230609152949.1911349-1-jcmvbkbc@gmail.com>
Date: Fri, 9 Jun 2023 08:29:49 -0700
From: Max Filippov <jcmvbkbc@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Chris Zankel <chris@...kel.net>, Max Filippov <jcmvbkbc@...il.com>
Subject: [PATCH] xtensa: drop bcopy implementation
bcopy is not exported and there's no in-tree users of this function.
Drop it.
Signed-off-by: Max Filippov <jcmvbkbc@...il.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
Powered by blists - more mailing lists