Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbb76b55 authored by Américo Wang's avatar Américo Wang Committed by Ingo Molnar
Browse files

ptrace: remove a useless goto



Impact: cleanup

Obviously, this goto is useless. Remove it.

Signed-off-by: default avatarWANG 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: default avatarIngo Molnar <mingo@elte.hu>
parent 7a203f3b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);