]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: extable: remove unused ex_handler_t definition
authorJisheng Zhang <jszhang@kernel.org>
Fri, 19 Nov 2021 04:46:08 +0000 (12:46 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 6 Dec 2021 16:28:26 +0000 (16:28 +0000)
The ex_handler_t type was introduced in commit f2393f828eb3 ("arm64:
extable: add `type` and `data` fields"), but has never been used, and
is unnecessary. Remove it.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20211119124608.3f03380b@xhacker
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/extable.c

index c3d53811a15e1188d29308fd10878e2710f08bca..c0181e60cc98e86e9695e6135466d1864d13af7b 100644 (file)
@@ -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)
 {