diff --git a/kernel/signal.c b/kernel/signal.c index 2f7736ff74188f0891c971b2151bc8da1af77b9e..b7aa492e16adf513d8917daacbbd230da9454dc3 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -985,9 +985,6 @@ void zap_other_threads(struct task_struct *p) p->signal->flags = SIGNAL_GROUP_EXIT; p->signal->group_stop_count = 0; - if (thread_group_empty(p)) - return; - for (t = next_thread(p); t != p; t = next_thread(t)) { /* * Don't bother with already dead threads