mirror of
https://github.com/ipxe/ipxe
synced 2026-02-12 09:59:51 +03:00
[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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user