From: Heinrich Schuchardt Date: Mon, 28 Oct 2024 06:21:36 +0000 (+0100) Subject: lmb: remove __maybe_unused from lmb_map_update_notify X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=62fe870632fc6a8f18ff59c2e9579be9a80df3d7;p=u-boot.git lmb: remove __maybe_unused from lmb_map_update_notify Function lmb_map_update_notify() is always referenced. Signed-off-by: Heinrich Schuchardt Reviewed-by: Ilias Apalodimas --- diff --git a/lib/lmb.c b/lib/lmb.c index 96a055f951..2ed0da21b4 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -35,9 +35,8 @@ 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, enum lmb_flags flags) +static int lmb_map_update_notify(phys_addr_t addr, phys_size_t size, u8 op, + enum lmb_flags flags) { u64 efi_addr; u64 pages;