summaryrefslogtreecommitdiffstats
path: root/src/interface/linux
diff options
context:
space:
mode:
authorMichael Brown2025-04-20 19:29:48 +0200
committerMichael Brown2025-04-21 00:00:13 +0200
commit89fe7886897be76ed902317e311d60ae654057aa (patch)
treeeddd42226c8336226d0a9649d705ccc9f02c88f4 /src/interface/linux
parent[uaccess] Remove redundant userptr_add() and userptr_diff() (diff)
downloadipxe-89fe7886897be76ed902317e311d60ae654057aa.tar.gz
ipxe-89fe7886897be76ed902317e311d60ae654057aa.tar.xz
ipxe-89fe7886897be76ed902317e311d60ae654057aa.zip
[uaccess] Remove redundant memcpy_user() and related string functions
The memcpy_user(), memmove_user(), memcmp_user(), memset_user(), and strlen_user() functions are now just straightforward wrappers around the corresponding standard library functions. Remove these redundant wrappers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux')
-rw-r--r--src/interface/linux/linux_uaccess.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/interface/linux/linux_uaccess.c b/src/interface/linux/linux_uaccess.c
index 9fc99c5e2..d777bf3dd 100644
--- a/src/interface/linux/linux_uaccess.c
+++ b/src/interface/linux/linux_uaccess.c
@@ -30,8 +30,4 @@ FILE_LICENCE(GPL2_OR_LATER);
PROVIDE_UACCESS_INLINE(linux, user_to_phys);
PROVIDE_UACCESS_INLINE(linux, virt_to_user);
PROVIDE_UACCESS_INLINE(linux, user_to_virt);
-PROVIDE_UACCESS_INLINE(linux, memcpy_user);
-PROVIDE_UACCESS_INLINE(linux, memmove_user);
-PROVIDE_UACCESS_INLINE(linux, memset_user);
-PROVIDE_UACCESS_INLINE(linux, strlen_user);
PROVIDE_UACCESS_INLINE(linux, memchr_user);