diff options
| author | Heinrich Schuchardt <[email protected]> | 2021-11-14 08:41:07 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2021-11-20 10:53:00 +0100 |
| commit | 5a515132d9f25b1ff2c15e2013de9be33bf71067 (patch) | |
| tree | 92f19a4b5aa0ba82cfbd2f2da523de123d05d291 /include | |
| parent | 454a97485a1854d4ac4f3b7d408caf3b355beca0 (diff) | |
lmb: remove lmb_is_nomap() from include
Defining static functions in includes should be avoided.
Function lmb_is_nomap() is only used in the unit test.
So move it to the unit test.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/lmb.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/lmb.h b/include/lmb.h index 19842911322..ee5b938e194 100644 --- a/include/lmb.h +++ b/include/lmb.h @@ -124,13 +124,6 @@ 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); -/* Low level functions */ - -static inline bool lmb_is_nomap(struct lmb_property *m) -{ - return m->flags & LMB_NOMAP; -} - #endif /* __KERNEL__ */ #endif /* _LINUX_LMB_H */ |
