diff options
| author | Sughosh Ganu <[email protected]> | 2024-08-26 17:29:15 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-09-03 14:08:49 -0600 |
| commit | f506ca00d6c27a56b9471b49c706b2374bfa40ca (patch) | |
| tree | b1379046a9e32ec806bab565b589dcc24914b8a6 /lib | |
| parent | c4eced2ec0d566e69281a2c20b0b43a141574318 (diff) | |
lmb: remove the unused lmb_is_reserved() function
The lmb_is_reserved() API is not used. There is another API,
lmb_is_reserved_flags() which can be used to check if a particular
memory region is reserved. Remove the unused API.
Signed-off-by: Sughosh Ganu <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lmb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index 44f98205310..adc3abd5b46 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -565,11 +565,6 @@ int lmb_is_reserved_flags(struct lmb *lmb, phys_addr_t addr, int flags) return 0; } -int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr) -{ - return lmb_is_reserved_flags(lmb, addr, LMB_NONE); -} - __weak void board_lmb_reserve(struct lmb *lmb) { /* please define platform specific board_lmb_reserve() */ |
