diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 114cf9209bcd..08aa5b263f36 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -364,8 +364,6 @@ void __exit_signal(struct task_struct *tsk) | |||
364 | posix_cpu_timers_exit(tsk); | 364 | posix_cpu_timers_exit(tsk); |
365 | if (atomic_dec_and_test(&sig->count)) { | 365 | if (atomic_dec_and_test(&sig->count)) { |
366 | posix_cpu_timers_exit_group(tsk); | 366 | posix_cpu_timers_exit_group(tsk); |
367 | if (tsk == sig->curr_target) | ||
368 | sig->curr_target = next_thread(tsk); | ||
369 | tsk->signal = NULL; | 367 | tsk->signal = NULL; |
370 | __exit_sighand(tsk); | 368 | __exit_sighand(tsk); |
371 | spin_unlock(&sighand->siglock); | 369 | spin_unlock(&sighand->siglock); |