diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 5c8ecbaa19a5..6c7699240327 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -182,7 +182,6 @@ repeat: | |||
182 | zap_leader = (leader->exit_signal == -1); | 182 | zap_leader = (leader->exit_signal == -1); |
183 | } | 183 | } |
184 | 184 | ||
185 | sched_exit(p); | ||
186 | write_unlock_irq(&tasklist_lock); | 185 | write_unlock_irq(&tasklist_lock); |
187 | proc_flush_task(p); | 186 | proc_flush_task(p); |
188 | release_thread(p); | 187 | release_thread(p); |