__ptrace_unlink: kill the obsolete "FIXME" code
[linux-2.6-block.git] / kernel / ptrace.c
index d8b5e13a2229f4ab4f6aed871cd702dbea4e01aa..3617213c3d8acdd5ec342e074b795501456192b7 100644 (file)
@@ -145,20 +145,9 @@ void __ptrace_unlink(struct task_struct *child)
         */
        if (!(child->flags & PF_EXITING) &&
            (child->signal->flags & SIGNAL_STOP_STOPPED ||
-            child->signal->group_stop_count)) {
+            child->signal->group_stop_count))
                child->jobctl |= JOBCTL_STOP_PENDING;
 
-               /*
-                * This is only possible if this thread was cloned by the
-                * traced task running in the stopped group, set the signal
-                * for the future reports.
-                * FIXME: we should change ptrace_init_task() to handle this
-                * case.
-                */
-               if (!(child->jobctl & JOBCTL_STOP_SIGMASK))
-                       child->jobctl |= SIGSTOP;
-       }
-
        /*
         * If transition to TASK_STOPPED is pending or in TASK_TRACED, kick
         * @child in the butt.  Note that @resume should be used iff @child