]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
lmb: remove __maybe_unused from lmb_map_update_notify
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 28 Oct 2024 06:21:36 +0000 (07:21 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 1 Nov 2024 19:36:47 +0000 (13:36 -0600)
Function lmb_map_update_notify() is always referenced.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/lmb.c

index 96a055f951e657bf3acc05c9fa804698ce90c312..2ed0da21b45bb39074df39e1b322907bcc682b3f 100644 (file)
--- 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;