]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[uaccess] Remove redundant userptr_add() and userptr_diff()
authorMichael Brown <mcb30@ipxe.org>
Sun, 20 Apr 2025 17:45:55 +0000 (18:45 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 20 Apr 2025 21:31:29 +0000 (22:31 +0100)
commitef038491858cb51f8aa17b1f6e50444d2e627413
treed694fd55762a98f469437f6679e7c1ff19676eda
parentb65f67d443d213bbaf9d7859649f25920e6d6785
[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>
13 files changed:
src/arch/x86/image/bzimage.c
src/arch/x86/image/initrd.c
src/arch/x86/image/nbi.c
src/arch/x86/include/librm.h
src/arch/x86/interface/pcbios/memtop_umalloc.c
src/arch/x86/transitions/librm_mgmt.c
src/core/sanboot.c
src/core/uaccess.c
src/drivers/net/gve.c
src/image/gzip.c
src/include/ipxe/linux/linux_uaccess.h
src/include/ipxe/uaccess.h
src/interface/linux/linux_uaccess.c