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@xxxxxxxxxx> --- 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