From: Heinrich Schuchardt Date: Sun, 14 Nov 2021 08:03:27 +0000 (+0100) Subject: lmb: drop unused lmb_size_bytes() X-Git-Tag: v2025.01-rc5-pxa1908~1627^2~13 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=7db07aa24fa869bfa0e56709ffaa992051075942;p=u-boot.git lmb: drop unused lmb_size_bytes() lmb_size_bytes() is unused. Signed-off-by: Heinrich Schuchardt Acked-by: Ilias Apalodimas --- diff --git a/include/lmb.h b/include/lmb.h index 6182054f68..ab277ca800 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);