Consolidate PTRACE_DETACH
[linux-2.6-block.git] / arch / x86 / kernel / ptrace_32.c
index 0cecd7513c9788fe1e13bee6a0f35c43b9b164ea..8622b9cd3e383eb259ec4101dac98464dc1bd9ce 100644 (file)
@@ -524,11 +524,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
                ret = 0;
                break;
 
-       case PTRACE_DETACH:
-               /* detach a process that was attached. */
-               ret = ptrace_detach(child, data);
-               break;
-
        case PTRACE_GETREGS: { /* Get all gp regs from the child. */
                if (!access_ok(VERIFY_WRITE, datap, FRAME_SIZE*sizeof(long))) {
                        ret = -EIO;