aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/ptrace.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index f5a9fa5aafa1..296e8105863a 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -301,11 +301,7 @@ int ptrace_detach(struct task_struct *child, unsigned int data)
301 */ 301 */
302 if (child->ptrace) { 302 if (child->ptrace) {
303 child->exit_code = data; 303 child->exit_code = data;
304
305 dead = __ptrace_detach(current, child); 304 dead = __ptrace_detach(current, child);
306
307 if (!child->exit_state)
308 wake_up_process(child);
309 } 305 }
310 write_unlock_irq(&tasklist_lock); 306 write_unlock_irq(&tasklist_lock);
311 307