[PATCH 1/1] lmb: remove __maybe_unused from lmb_map_update_notify

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Mon Oct 28 07:21:36 CET 2024


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



More information about the U-Boot mailing list