aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2021-11-19 12:46:08 +0800
committerCatalin Marinas <[email protected]>2021-12-06 16:28:26 +0000
commitfde046e07d3343a0417eafc0533b0c9675b393e5 (patch)
tree7381675c92bd3313ab3ef95d7d8c2ca62a3afe0e
parentc9f5ea08a0f029fc5e0edb5f1380b9a828285439 (diff)
arm64: extable: remove unused ex_handler_t definition
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. Signed-off-by: Jisheng Zhang <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/20211119124608.3f03380b@xhacker Signed-off-by: Catalin Marinas <[email protected]>
-rw-r--r--arch/arm64/mm/extable.c3
1 files changed, 0 insertions, 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)
{