mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 17:12:54 +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:
@@ -395,7 +395,7 @@ static int exanic_open ( struct net_device *netdev ) {
|
||||
}
|
||||
|
||||
/* Reset receive region contents */
|
||||
memset_user ( port->rx, 0, 0xff, EXANIC_RX_LEN );
|
||||
memset ( port->rx, 0xff, EXANIC_RX_LEN );
|
||||
|
||||
/* Reset transmit feedback region */
|
||||
*(port->txf) = 0;
|
||||
|
||||
Reference in New Issue
Block a user