mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +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:
@@ -36,7 +36,6 @@ PROVIDE_UACCESS_INLINE ( flat, phys_to_user );
|
||||
PROVIDE_UACCESS_INLINE ( flat, user_to_phys );
|
||||
PROVIDE_UACCESS_INLINE ( flat, virt_to_user );
|
||||
PROVIDE_UACCESS_INLINE ( flat, user_to_virt );
|
||||
PROVIDE_UACCESS_INLINE ( flat, userptr_add );
|
||||
PROVIDE_UACCESS_INLINE ( flat, memcpy_user );
|
||||
PROVIDE_UACCESS_INLINE ( flat, memmove_user );
|
||||
PROVIDE_UACCESS_INLINE ( flat, memset_user );
|
||||
|
||||
Reference in New Issue
Block a user