diff --git a/src/system/kernel/arch/x86/arch_thread.c b/src/system/kernel/arch/x86/arch_thread.c index acbf40fb5f..3e05c6d67a 100644 --- a/src/system/kernel/arch/x86/arch_thread.c +++ b/src/system/kernel/arch/x86/arch_thread.c @@ -508,8 +508,6 @@ arch_restore_signal_frame(void) TRACE(("### arch_restore_signal_frame: exit\n")); - frame->orig_eax = -1; /* disable syscall checks */ - return (int64)frame->eax | ((int64)frame->edx << 32); }