mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ptrace: remove a useless goto
Impact: cleanup Obviously, this goto is useless. Remove it. Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Cc: Andrew Morton <akpm@osdl.org> Cc: Roland McGrath <roland@redhat.com> LKML-Reference: <20090310093447.GC3179@hack> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
7a203f3b08
commit
bbb76b552a
1 changed files with 0 additions and 2 deletions
|
@ -612,8 +612,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 a new issue