diff options
author | Tejun Heo <tj@kernel.org> | 2011-06-02 11:13:59 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2011-06-04 18:17:09 +0200 |
commit | 0b1007c3578569469a6fab6ae5cca918ccdc3ee1 (patch) | |
tree | f6a5254c6f8caeb843fc1a130f7642b9a55a2694 /kernel/signal.c | |
parent | 23c79d31a3dd2602ee1a5ff31303b2d7a2d3c159 (diff) | |
download | lwn-0b1007c3578569469a6fab6ae5cca918ccdc3ee1.tar.gz lwn-0b1007c3578569469a6fab6ae5cca918ccdc3ee1.zip |
ptrace: remove silly wait_trap variable from ptrace_attach()
Remove local variable wait_trap which determines whether to wait for
!TRAPPING or not and simply wait for it if attach was successful.
-v2: Oleg pointed out wait should happen iff attach was successful.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions