efi: app: Use the same efi_free_pool() signature as loader

The app has a function of this name, but it does not return any value.
Return success (always) so that we can use the same signature.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-15 18:08:11 -06:00
parent c43c1681ee
commit c8c34fba1c
3 changed files with 11 additions and 9 deletions

View File

@@ -662,6 +662,14 @@ void *efi_malloc(struct efi_priv *priv, int size, efi_status_t *retp);
*/
void efi_free(struct efi_priv *priv, void *ptr);
/**
* efi_free_pool() - free memory from pool
*
* @buffer: start of memory to be freed
* Return: status code
*/
efi_status_t efi_free_pool(void *buffer);
/**
* efi_puts() - Write out a string to the EFI console
*