aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2021-11-19 12:46:08 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2021-12-06 16:28:26 +0000
commitfde046e07d3343a0417eafc0533b0c9675b393e5 (patch)
tree7381675c92bd3313ab3ef95d7d8c2ca62a3afe0e /arch
parentarm64: entry: Use SDEI event constants (diff)
downloadlinux-dev-fde046e07d3343a0417eafc0533b0c9675b393e5.tar.xz
linux-dev-fde046e07d3343a0417eafc0533b0c9675b393e5.zip
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 <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>
Diffstat (limited to 'arch')
-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)
{