aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-11-14 09:03:27 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-11-20 10:53:00 +0100
commit7db07aa24fa869bfa0e56709ffaa992051075942 (patch)
tree58da726d703e5759d98cfb9761b8c11eb3e27aef
parent951a8c487120b7f0a4badecb9402d7eaaad8dbfb (diff)
downloadu-boot-7db07aa24fa869bfa0e56709ffaa992051075942.zip
u-boot-7db07aa24fa869bfa0e56709ffaa992051075942.tar.gz
u-boot-7db07aa24fa869bfa0e56709ffaa992051075942.tar.bz2
lmb: drop unused lmb_size_bytes()
lmb_size_bytes() is unused. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--include/lmb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/lmb.h b/include/lmb.h
index 6182054..ab277ca 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -113,12 +113,6 @@ long lmb_free(struct lmb *lmb, phys_addr_t base, phys_size_t size);
void lmb_dump_all(struct lmb *lmb);
void lmb_dump_all_force(struct lmb *lmb);
-static inline phys_size_t
-lmb_size_bytes(struct lmb_region *type, unsigned long region_nr)
-{
- return type->region[region_nr].size;
-}
-
void board_lmb_reserve(struct lmb *lmb);
void arch_lmb_reserve(struct lmb *lmb);
void arch_lmb_reserve_generic(struct lmb *lmb, ulong sp, ulong end, ulong align);