[PATCH v2] ARM: ftrace: remove unused ftrace_graph_caller_old() declaration
Gaosheng Cui
cuigaosheng1 at huawei.com
Fri Jul 28 01:48:40 PDT 2023
All uses of ftrace_graph_caller_old() were removed by
commit d3c61619568c ("ARM: 8788/1: ftrace: remove old
mcount support"), so remove the declaration, too.
Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
Acked-by: Linus Walleij <linus.walleij at xxxxxxxxxx>
---
v2:
- Nothing change, resend, thanks!
v1:
- links: https://www.spinics.net/lists/linux-usb/msg231303.html
arch/arm/kernel/ftrace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/kernel/ftrace.c b/arch/arm/kernel/ftrace.c
index a0b6d1e3812f..0320cfba5b74 100644
--- a/arch/arm/kernel/ftrace.c
+++ b/arch/arm/kernel/ftrace.c
@@ -261,7 +261,6 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr,
#ifdef CONFIG_DYNAMIC_FTRACE
extern unsigned long ftrace_graph_call;
extern unsigned long ftrace_graph_call_old;
-extern void ftrace_graph_caller_old(void);
extern unsigned long ftrace_graph_regs_call;
extern void ftrace_graph_regs_caller(void);
--
2.25.1
More information about the linux-arm-kernel
mailing list