]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/signal.c
[PATCH] remove unneeded sig->curr_target recalculation
[linux-2.6-omap-h63xx.git] / kernel / signal.c
index 114cf9209bcd848a478a27921d2405427b607d0c..08aa5b263f36b01c0308c11f94428b404f5c7582 100644 (file)
@@ -364,8 +364,6 @@ void __exit_signal(struct task_struct *tsk)
        posix_cpu_timers_exit(tsk);
        if (atomic_dec_and_test(&sig->count)) {
                posix_cpu_timers_exit_group(tsk);
-               if (tsk == sig->curr_target)
-                       sig->curr_target = next_thread(tsk);
                tsk->signal = NULL;
                __exit_sighand(tsk);
                spin_unlock(&sighand->siglock);