[PATCH] arm64: extable: remove unsed ex_handler_t definition

Jisheng Zhang jszhang3 at mail.ustc.edu.cn
Thu Nov 18 04:02:49 PST 2021


From: Jisheng Zhang <jszhang at kernel.org>

The type ex_handler_t is defined but not used, remove it.

Signed-off-by: Jisheng Zhang <jszhang at kernel.org>
---
 arch/arm64/mm/extable.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm64/mm/extable.c b/arch/arm64/mm/extable.c
index c3d53811a15e..c0181e60cc98 100644
--- a/arch/arm64/mm/extable.c
+++ b/arch/arm64/mm/extable.c
@@ -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)
 {
-- 
2.33.0





More information about the linux-arm-kernel mailing list