Function lmb_map_update_notify() is always referenced.

Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@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

Reply via email to