Skip to content

Commit

Permalink
cris: SA_ONESHOT handling is done by get_signal_to_deliver()
Browse files Browse the repository at this point in the history
... and resetting sa_handler in local copy filled by get_signal_to_deliver()
is obviously pointless anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed May 22, 2012
1 parent 7ae4e32 commit a4e075c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/cris/arch-v32/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,6 @@ handle_signal(int canrestart, unsigned long sig,
else
ret = setup_frame(sig, ka, oldset, regs);

if (ka->sa.sa_flags & SA_ONESHOT)
ka->sa.sa_handler = SIG_DFL;

if (ret == 0)
block_sigmask(ka, sig);

Expand Down

0 comments on commit a4e075c

Please sign in to comment.