[PATCH] efi_loader: Mark efi_bootmgr_release_uridp as static

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 26 09:44:15 CEST 2024


On 10/26/24 09:37, Ilias Apalodimas wrote:
> This is only used locally so make it static
>
> Suggested-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
>   lib/efi_loader/efi_bootmgr.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c
> index a3aa2b8d1b92..f9b5988a06ea 100644
> --- a/lib/efi_loader/efi_bootmgr.c
> +++ b/lib/efi_loader/efi_bootmgr.c
> @@ -385,7 +385,7 @@ err:
>    * @ctx:	event context
>    * Return:	status code
>    */
> -efi_status_t efi_bootmgr_release_uridp(struct uridp_context *ctx)
> +static efi_status_t efi_bootmgr_release_uridp(struct uridp_context *ctx)
>   {
>   	efi_status_t ret = EFI_SUCCESS;
>   	efi_status_t ret2 = EFI_SUCCESS;

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>


More information about the U-Boot mailing list