diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/process.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/kernel/process.c b/arch/sparc/kernel/process.c index 36431f377dee..da48d248cc17 100644 --- a/arch/sparc/kernel/process.c +++ b/arch/sparc/kernel/process.c | |||
@@ -638,11 +638,6 @@ asmlinkage int sparc_execve(struct pt_regs *regs) | |||
638 | (char __user * __user *)regs->u_regs[base + UREG_I2], | 638 | (char __user * __user *)regs->u_regs[base + UREG_I2], |
639 | regs); | 639 | regs); |
640 | putname(filename); | 640 | putname(filename); |
641 | if (error == 0) { | ||
642 | task_lock(current); | ||
643 | current->ptrace &= ~PT_DTRACE; | ||
644 | task_unlock(current); | ||
645 | } | ||
646 | out: | 641 | out: |
647 | return error; | 642 | return error; |
648 | } | 643 | } |