diff options
author | Richard Henderson | 2022-04-21 17:16:37 +0200 |
---|---|---|
committer | Richard Henderson | 2022-04-26 17:16:40 +0200 |
commit | dfb810bcaad695f50f2b3e1d105eebeb6a1cea16 (patch) | |
tree | 104fea9f404571eae2ded17a42bb4c24bd910f9b | |
parent | linux-user/nios2: Handle special qemu syscall return values (diff) | |
download | qemu-dfb810bcaad695f50f2b3e1d105eebeb6a1cea16.tar.gz qemu-dfb810bcaad695f50f2b3e1d105eebeb6a1cea16.tar.xz qemu-dfb810bcaad695f50f2b3e1d105eebeb6a1cea16.zip |
linux-user/nios2: Remove do_sigreturn
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>
-rw-r--r-- | linux-user/nios2/signal.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/linux-user/nios2/signal.c b/linux-user/nios2/signal.c index 517cd39270..133bc05673 100644 --- a/linux-user/nios2/signal.c +++ b/linux-user/nios2/signal.c @@ -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 */ |