summaryrefslogtreecommitdiff
path: root/lib/efi_driver
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-04 12:50:51 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-06 22:54:57 +0200
commit8b1641680d220e7e6cf467f7e2d627c4cbd66436 (patch)
treebab243a5937c04419236bdcb9c3d927d466ab201 /lib/efi_driver
parent43a5891c66c8fe961999415b051c827ce1b543c4 (diff)
downloadu-boot-8b1641680d220e7e6cf467f7e2d627c4cbd66436.tar.gz
u-boot-8b1641680d220e7e6cf467f7e2d627c4cbd66436.tar.bz2
u-boot-8b1641680d220e7e6cf467f7e2d627c4cbd66436.zip
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>
Diffstat (limited to 'lib/efi_driver')
-rw-r--r--lib/efi_driver/efi_uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_driver/efi_uclass.c b/lib/efi_driver/efi_uclass.c
index 5a285aad89..aabee0e260 100644
--- a/lib/efi_driver/efi_uclass.c
+++ b/lib/efi_driver/efi_uclass.c
@@ -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");