From: Jisheng Zhang Date: Fri, 19 Nov 2021 04:46:08 +0000 (+0800) Subject: arm64: extable: remove unused ex_handler_t definition X-Git-Tag: baikal/mips/sdk6.1~6758^2^2~11 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=bd71f976519343a419d6c21f4f1599ed9e8558e9;p=kernel.git arm64: extable: remove unused ex_handler_t definition 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 Acked-by: Mark Rutland Link: https://lore.kernel.org/r/20211119124608.3f03380b@xhacker Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/mm/extable.c b/arch/arm64/mm/extable.c index c3d53811a15e1..c0181e60cc98e 100644 --- a/arch/arm64/mm/extable.c +++ b/arch/arm64/mm/extable.c @@ -10,9 +10,6 @@ #include #include -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) {