mirror of
https://github.com/ipxe/ipxe
synced 2026-02-02 07:52:48 +03:00
[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>
This commit is contained in:
@@ -464,8 +464,8 @@ static void deflate_copy ( struct deflate_chunk *out,
|
||||
if ( copy_len > len )
|
||||
copy_len = len;
|
||||
while ( copy_len-- ) {
|
||||
memcpy_user ( out->data, out_offset++,
|
||||
start, offset++, 1 );
|
||||
memcpy ( ( out->data + out_offset++ ),
|
||||
( start + offset++ ), 1 );
|
||||
}
|
||||
}
|
||||
out->offset += len;
|
||||
|
||||
Reference in New Issue
Block a user