Message ID | 20230728084840.2459430-1-cuigaosheng1@huawei.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [v2] ARM: ftrace: remove unused ftrace_graph_caller_old() declaration | expand |
On Fri, 28 Jul 2023 16:48:40 +0800 Gaosheng Cui <cuigaosheng1@huawei.com> wrote: > 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@xxxxxxxxxx> Please write the correct email address for the Acked-by tag. Thank you, > --- > 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 >
> Please write the correct email address for the Acked-by tag. Thanks for taking time to review this patch, I have corrected the email address for the Acked-by tag. On 2023/7/29 8:42, Masami Hiramatsu (Google) wrote: > On Fri, 28 Jul 2023 16:48:40 +0800 > Gaosheng Cui <cuigaosheng1@huawei.com> wrote: > >> 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@xxxxxxxxxx> > Please write the correct email address for the Acked-by tag. > > Thank you, > >> --- >> 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 >> >
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);