forked from Minki/linux
Merge branch 'core-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: ptrace: remove a useless goto
This commit is contained in:
commit
09f38dc19d
@ -687,8 +687,6 @@ SYSCALL_DEFINE4(ptrace, long, request, long, pid, long, addr, long, data)
|
||||
goto out_put_task_struct;
|
||||
|
||||
ret = arch_ptrace(child, request, addr, data);
|
||||
if (ret < 0)
|
||||
goto out_put_task_struct;
|
||||
|
||||
out_put_task_struct:
|
||||
put_task_struct(child);
|
||||
|
Loading…
Reference in New Issue
Block a user