aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r--kernel/ptrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 2f0f50b450a3..6af9cdd558b7 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -75,7 +75,6 @@ void __ptrace_unlink(struct task_struct *child)
75 child->parent = child->real_parent; 75 child->parent = child->real_parent;
76 list_del_init(&child->ptrace_entry); 76 list_del_init(&child->ptrace_entry);
77 77
78 arch_ptrace_untrace(child);
79 if (task_is_traced(child)) 78 if (task_is_traced(child))
80 ptrace_untrace(child); 79 ptrace_untrace(child);
81} 80}