]> git.proxmox.com Git - mirror_qemu.git/commitdiff
linux-user/nios2: Remove do_sigreturn
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Apr 2022 15:16:37 +0000 (08:16 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 26 Apr 2022 15:16:40 +0000 (08:16 -0700)
There is no sigreturn syscall, only rt_sigreturn.
This function is unused.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220421151735.31996-7-richard.henderson@linaro.org>

linux-user/nios2/signal.c

index 517cd392701c1072bc9f587ef9c243027b9f6562..133bc0567365ba2d7c633c811371c825becbe292 100644 (file)
@@ -185,13 +185,6 @@ void setup_rt_frame(int sig, struct target_sigaction *ka,
     unlock_user_struct(frame, frame_addr, 1);
 }
 
-long do_sigreturn(CPUNios2State *env)
-{
-    trace_user_do_sigreturn(env, 0);
-    qemu_log_mask(LOG_UNIMP, "do_sigreturn: not implemented\n");
-    return -TARGET_ENOSYS;
-}
-
 long do_rt_sigreturn(CPUNios2State *env)
 {
     /* Verify, can we follow the stack back */