diff options
author | Amos Kong | 2012-09-29 07:36:21 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2012-10-05 15:10:21 +0200 |
commit | 4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (patch) | |
tree | ee0e196c5bc3d4cb7702ff55c5bf7464c86a8783 /linux-user/signal.c | |
parent | qemu-sockets: Fix compiler warning (regression for MinGW) (diff) | |
download | qemu-4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602.tar.gz qemu-4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602.tar.xz qemu-4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602.zip |
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions.
Reported-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r-- | linux-user/signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index 78691473fa..15bc4e8f62 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -2762,7 +2762,6 @@ static void setup_frame(int sig, struct target_sigaction * ka, give_sigsegv: unlock_user_struct(frame, frame_addr, 1); force_sig(TARGET_SIGSEGV/*, current*/); - return; } long do_sigreturn(CPUMIPSState *regs) @@ -2871,7 +2870,6 @@ static void setup_rt_frame(int sig, struct target_sigaction *ka, give_sigsegv: unlock_user_struct(frame, frame_addr, 1); force_sig(TARGET_SIGSEGV/*, current*/); - return; } long do_rt_sigreturn(CPUMIPSState *env) |