提交 5de22916 编写于 作者: L Li Huafei 提交者: Catalin Marinas

arm64: module: Remove unused plt_entry_is_initialized()

Since commit f1a54ae9 ("arm64: module/ftrace: intialize PLT at load
time"), plt_entry_is_initialized() is unused anymore , so remove it.
Signed-off-by: NLi Huafei <lihuafei1@huawei.com>
Acked-by: NMark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220929094134.99512-3-lihuafei1@huawei.comSigned-off-by: NCatalin Marinas <catalin.marinas@arm.com>
上级 3fb420f5
......@@ -59,9 +59,4 @@ static inline bool is_forbidden_offset_for_adrp(void *place)
struct plt_entry get_plt_entry(u64 dst, void *pc);
static inline bool plt_entry_is_initialized(const struct plt_entry *e)
{
return e->adrp || e->add || e->br;
}
#endif /* __ASM_MODULE_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册