mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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>
This commit is contained in:
parent
58455eb9f2
commit
4d5b97da35
41 changed files with 0 additions and 67 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue