diff mbox series

[-next] x86/ftrace: Remove unsued extern declaration ftrace_regs_caller_ret()

Message ID 20230623091640.21952-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit b599b06544d87b0c7dcb7d3571c3473ab5abce72
Delegated to: Steven Rostedt
Headers show
Series [-next] x86/ftrace: Remove unsued extern declaration ftrace_regs_caller_ret() | expand

Commit Message

Yue Haibing June 23, 2023, 9:16 a.m. UTC
This is now unused, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/x86/kernel/ftrace.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Masami Hiramatsu (Google) June 25, 2023, 6:01 a.m. UTC | #1
On Fri, 23 Jun 2023 17:16:40 +0800
YueHaibing <yuehaibing@huawei.com> wrote:

> This is now unused, so can remove it.
> 

Looks good to me.

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Thanks!

> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  arch/x86/kernel/ftrace.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c
> index 01e8f34daf22..12df54ff0e81 100644
> --- a/arch/x86/kernel/ftrace.c
> +++ b/arch/x86/kernel/ftrace.c
> @@ -282,7 +282,6 @@ static inline void tramp_free(void *tramp) { }
>  
>  /* Defined as markers to the end of the ftrace default trampolines */
>  extern void ftrace_regs_caller_end(void);
> -extern void ftrace_regs_caller_ret(void);
>  extern void ftrace_caller_end(void);
>  extern void ftrace_caller_op_ptr(void);
>  extern void ftrace_regs_caller_op_ptr(void);
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c
index 01e8f34daf22..12df54ff0e81 100644
--- a/arch/x86/kernel/ftrace.c
+++ b/arch/x86/kernel/ftrace.c
@@ -282,7 +282,6 @@  static inline void tramp_free(void *tramp) { }
 
 /* Defined as markers to the end of the ftrace default trampolines */
 extern void ftrace_regs_caller_end(void);
-extern void ftrace_regs_caller_ret(void);
 extern void ftrace_caller_end(void);
 extern void ftrace_caller_op_ptr(void);
 extern void ftrace_regs_caller_op_ptr(void);