[PATCH 1/1] lmb: remove __maybe_unused from lmb_map_update_notify
Ilias Apalodimas
ilias.apalodimas at linaro.org
Tue Oct 29 08:34:46 CET 2024
On Mon, 28 Oct 2024 at 08:21, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Function lmb_map_update_notify() is always referenced.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> lib/lmb.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/lib/lmb.c b/lib/lmb.c
> index eec99c185ee..802fdb84489 100644
> --- a/lib/lmb.c
> +++ b/lib/lmb.c
> @@ -38,9 +38,7 @@ static bool lmb_should_notify(enum lmb_flags flags)
> CONFIG_IS_ENABLED(EFI_LOADER);
> }
>
> -static int __maybe_unused lmb_map_update_notify(phys_addr_t addr,
> - phys_size_t size,
> - u8 op)
> +static int lmb_map_update_notify(phys_addr_t addr, phys_size_t size, u8 op)
> {
> u64 efi_addr;
> u64 pages;
> --
> 2.45.2
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list