From 62fe870632fc6a8f18ff59c2e9579be9a80df3d7 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 28 Oct 2024 07:21:36 +0100 Subject: [PATCH] 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 --- lib/lmb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.5