]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/string: Remove strcpy() implementation
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 24 Apr 2025 09:27:11 +0000 (11:27 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Wed, 30 Apr 2025 09:41:28 +0000 (11:41 +0200)
commitde6b4f99010ad22f0242f1fc0f75c0752a56e9bb
treeb5b839e2369d266db5468cd86572839923bf1450
parented5eef1141a35551a56c9cc0c475f0e0b6291e77
s390/string: Remove strcpy() implementation

Remove the optimized strcpy() library implementation. This doesn't make any
difference since gcc recognizes all strcpy() usages anyway and uses the
builtin variant. There is not a single branch to strcpy() within the
generated kernel image, which also seems to be the reason why most other
architectures don't have a strcpy() implementation anymore.

Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/string.h
arch/s390/lib/string.c