mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
efi_selftest: remove redundant function efi_st_memcmp()
Function memcmp() is available in efi_freestanding.c. So we do not remove a further implementation. Replace all usages of efi_st_memcmp() by memcmp(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -33,8 +33,8 @@ static int setup(const efi_handle_t handle,
|
||||
boottime = systable->boottime;
|
||||
|
||||
for (i = 0; i < systable->nr_tables; ++i) {
|
||||
if (!efi_st_memcmp(&systable->tables[i].guid, &fdt_guid,
|
||||
sizeof(efi_guid_t))) {
|
||||
if (!memcmp(&systable->tables[i].guid, &fdt_guid,
|
||||
sizeof(efi_guid_t))) {
|
||||
if (fdt_addr) {
|
||||
efi_st_error("Duplicate device tree\n");
|
||||
return EFI_ST_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user