diff mbox series

[v3] ARM: ftrace: remove unused ftrace_graph_caller_old() declaration

Message ID 20230729012746.2714282-1-cuigaosheng1@huawei.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [v3] ARM: ftrace: remove unused ftrace_graph_caller_old() declaration | expand

Commit Message

cuigaosheng July 29, 2023, 1:27 a.m. UTC
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@huawei.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
v3:
- linus.walleij@xxxxxxxxxx -> linus.walleij@linaro.org, thanks!
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 mbox series

Patch

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);