]> err.no Git - linux-2.6/blobdiff - arch/xtensa/kernel/ptrace.c
[PACKET]: Fix sparse warnings in af_packet.c
[linux-2.6] / arch / xtensa / kernel / ptrace.c
index 06a13d9b69db54945e4d8a979e4468c88b9861ca..5533c7850d53b33c11aee1063ef1536bd91a46fd 100644 (file)
@@ -304,10 +304,6 @@ long arch_ptrace(struct task_struct *child, long request, long addr, long data)
                ret = put_user(sizeof(elf_fpregset_t), (unsigned long *) data);
                break;
 
-       case PTRACE_DETACH: /* detach a process that was attached. */
-               ret = ptrace_detach(child, data);
-               break;
-
        default:
                ret = ptrace_request(child, request, addr, data);
                goto out;