diff --git a/arch/x86/kernel/syscall.c b/arch/x86/kernel/syscall.c index 8057a28c..029626ae 100644 --- a/arch/x86/kernel/syscall.c +++ b/arch/x86/kernel/syscall.c @@ -389,7 +389,6 @@ long ptrace_read_regset(struct thread *thread, long type, struct iovec *iov) switch (type) { case NT_X86_XSTATE: - save_fp_regs(thread); if (thread->fp_regs == NULL) { return -ENOMEM; } @@ -411,7 +410,6 @@ long ptrace_write_regset(struct thread *thread, long type, struct iovec *iov) switch (type) { case NT_X86_XSTATE: - save_fp_regs(thread); if (thread->fp_regs == NULL) { return -ENOMEM; }