diff options
author | Li Huafei <lihuafei1@huawei.com> | 2022-09-29 11:41:33 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-09-29 18:47:18 +0200 |
commit | 5de2291605087b7a0cbc978c1a55dd4916f04e6e (patch) | |
tree | 3fa358087fa63a1393e5434bc9e94cbbc3d7ec12 /arch/arm64 | |
parent | arm64: module: Make plt_equals_entry() static (diff) | |
download | linux-5de2291605087b7a0cbc978c1a55dd4916f04e6e.tar.xz linux-5de2291605087b7a0cbc978c1a55dd4916f04e6e.zip |
arm64: module: Remove unused plt_entry_is_initialized()
Since commit f1a54ae9af0d ("arm64: module/ftrace: intialize PLT at load
time"), plt_entry_is_initialized() is unused anymore , so remove it.
Signed-off-by: Li Huafei <lihuafei1@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20220929094134.99512-3-lihuafei1@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/include/asm/module.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/module.h b/arch/arm64/include/asm/module.h index 28514b989a0b..8096d30c5e39 100644 --- a/arch/arm64/include/asm/module.h +++ b/arch/arm64/include/asm/module.h @@ -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 */ |