diff options
| author | Michael Brown | 2025-04-20 19:29:48 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-21 00:00:13 +0200 |
| commit | 89fe7886897be76ed902317e311d60ae654057aa (patch) | |
| tree | eddd42226c8336226d0a9649d705ccc9f02c88f4 /src/interface/efi/efi_fbcon.c | |
| parent | [uaccess] Remove redundant userptr_add() and userptr_diff() (diff) | |
| download | ipxe-89fe7886897be76ed902317e311d60ae654057aa.tar.gz ipxe-89fe7886897be76ed902317e311d60ae654057aa.tar.xz ipxe-89fe7886897be76ed902317e311d60ae654057aa.zip | |
[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>
Diffstat (limited to 'src/interface/efi/efi_fbcon.c')
| -rw-r--r-- | src/interface/efi/efi_fbcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface/efi/efi_fbcon.c b/src/interface/efi/efi_fbcon.c index d388e0317..659ebd37e 100644 --- a/src/interface/efi/efi_fbcon.c +++ b/src/interface/efi/efi_fbcon.c @@ -124,7 +124,7 @@ static int efifb_draw ( unsigned int character, unsigned int index, /* Clear existing glyph */ offset = ( index * efifb.font.height ); - memset_user ( efifb.glyphs, offset, 0, efifb.font.height ); + memset ( ( efifb.glyphs + offset ), 0, efifb.font.height ); /* Get glyph */ blt = NULL; @@ -296,7 +296,7 @@ static int efifb_glyphs ( void ) { rc = -ENOMEM; goto err_alloc; } - memset_user ( efifb.glyphs, 0, 0, len ); + memset ( efifb.glyphs, 0, len ); /* Get font data */ for ( character = 0 ; character < EFIFB_ASCII ; character++ ) { |
