x86/ftrace: Remove extra orig rax move
authorJiri Olsa <jolsa@redhat.com>
Fri, 8 Oct 2021 09:13:29 +0000 (11:13 +0200)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 20 Oct 2021 00:33:21 +0000 (20:33 -0400)
There's identical move 2 lines earlier.

Link: https://lkml.kernel.org/r/20211008091336.33616-2-jolsa@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/x86/kernel/ftrace_64.S

index 7c273846c68774471f7deefe9630b30bc7ef6f7d..a8eb084a7a9a321e8185ef0c65c5088d5b90c95f 100644 (file)
@@ -251,7 +251,6 @@ SYM_INNER_LABEL(ftrace_regs_call, SYM_L_GLOBAL)
         * If ORIG_RAX is anything but zero, make this a call to that.
         * See arch_ftrace_set_direct_caller().
         */
-       movq ORIG_RAX(%rsp), %rax
        testq   %rax, %rax
 SYM_INNER_LABEL(ftrace_regs_caller_jmp, SYM_L_GLOBAL)
        jnz     1f