diff options
| author | Michael Brown | 2025-04-20 19:45:55 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-20 23:31:29 +0200 |
| commit | ef038491858cb51f8aa17b1f6e50444d2e627413 (patch) | |
| tree | d694fd55762a98f469437f6679e7c1ff19676eda /src/interface/linux | |
| parent | [uaccess] Change userptr_t to be a pointer type (diff) | |
| download | ipxe-ef038491858cb51f8aa17b1f6e50444d2e627413.tar.gz ipxe-ef038491858cb51f8aa17b1f6e50444d2e627413.tar.xz ipxe-ef038491858cb51f8aa17b1f6e50444d2e627413.zip | |
[uaccess] Remove redundant userptr_add() and userptr_diff()
The userptr_add() and userptr_diff() functions are now just
straightforward wrappers around addition and subtraction.
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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/interface/linux/linux_uaccess.c b/src/interface/linux/linux_uaccess.c index ea2d8057c..9fc99c5e2 100644 --- a/src/interface/linux/linux_uaccess.c +++ b/src/interface/linux/linux_uaccess.c @@ -30,7 +30,6 @@ 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, userptr_add); PROVIDE_UACCESS_INLINE(linux, memcpy_user); PROVIDE_UACCESS_INLINE(linux, memmove_user); PROVIDE_UACCESS_INLINE(linux, memset_user); |
