diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 2f7736ff7418..b7aa492e16ad 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -985,9 +985,6 @@ void zap_other_threads(struct task_struct *p) | |||
985 | p->signal->flags = SIGNAL_GROUP_EXIT; | 985 | p->signal->flags = SIGNAL_GROUP_EXIT; |
986 | p->signal->group_stop_count = 0; | 986 | p->signal->group_stop_count = 0; |
987 | 987 | ||
988 | if (thread_group_empty(p)) | ||
989 | return; | ||
990 | |||
991 | for (t = next_thread(p); t != p; t = next_thread(t)) { | 988 | for (t = next_thread(p); t != p; t = next_thread(t)) { |
992 | /* | 989 | /* |
993 | * Don't bother with already dead threads | 990 | * Don't bother with already dead threads |