mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 07:01:57 +00:00
efi_driver: simplify efi_uc_stop(), call efi_free_pool()
We have exported efi_free_pool(). There is no need to use EFI_CALL(). Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
43a5891c66
commit
8b1641680d
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ static efi_status_t EFIAPI efi_uc_stop(
|
|||
goto out;
|
||||
}
|
||||
}
|
||||
ret = EFI_CALL(systab.boottime->free_pool(entry_buffer));
|
||||
ret = efi_free_pool(entry_buffer);
|
||||
if (ret != EFI_SUCCESS)
|
||||
log_err("Cannot free EFI memory pool\n");
|
||||
|
||||
|
|
Loading…
Reference in a new issue