Skip to contentSkip to conversation

arm64: extable: remove unsed ex_handler_t definition

PATCH Applied Jisheng Zhang 2 participants 2 messages Nov 19, 2021 – Dec 6, 2021 arm64

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: extable: remove unsed ex_handler_t definition

From: Jisheng Zhang <[email protected]>

The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64:
extable: add type and data fields"), but has never been used, and is unnecessary. Remove it.

---

Since v1:
- update commit msg as Mark suggested, thank Mark
- add Mark's Acked-by tag

 arch/arm64/mm/extable.c | 3 ---
 1 file changed, 3 deletions(-)
arch/arm64/mm/extable.c +0 -3
index c3d53811a15e..c0181e60cc98 100644
@@ -10,9 +10,6 @@
 #include <asm/asm-extable.h>
 #include <asm/ptrace.h>
 
-typedef bool (*ex_handler_t)(const struct exception_table_entry *,
-			     struct pt_regs *);
-
 static inline unsigned long
 get_ex_fixup(const struct exception_table_entry *ex)
 {
Signature · 1 line
2.33.0
maintainer Applied
#1 lore raw
Quoted 3 lines · Jisheng Zhang

The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64:
extable: add type and data fields"), but has never been used, and is unnecessary. Remove it.

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: extable: remove unsed ex_handler_t definition

      https://git.kernel.org/arm64/c/fde046e07d33
Signature · 1 line
Catalin