signal: Remove superflous try_to_freeze() loop in do_signal_stop()
commit71db5eb99c960e9c30e4b3ed04103c513b6251b5
authorTejun Heo <tj@kernel.org>
Wed, 23 Mar 2011 09:37:00 +0000 (23 10:37 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 23 Mar 2011 09:37:00 +0000 (23 10:37 +0100)
tree89732a4c7bef3c0740ebe0212fc2b432de2d8609
parent9f2bf6513a6cca0b00cbbf67ba6197017cfba548
signal: Remove superflous try_to_freeze() loop in do_signal_stop()

do_signal_stop() is used only by get_signal_to_deliver() and after a
successful signal stop, it always calls try_to_freeze(), so the
try_to_freeze() loop around schedule() in do_signal_stop() is
superflous and confusing.  Remove it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
kernel/signal.c