Remove redundant check for PTRACE_LISTEN availability
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 30 Aug 2016 09:12:06 +0000 (09:12 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 30 Aug 2016 09:12:06 +0000 (09:12 +0000)
commitae914db459696e385f4af380fae0652793d6178a
tree6b4f94dd3343de6380cf5e2afb23c6440b0d764f
parente2ea606a60433b2bd394d10c6a04d9774b19e5df
Remove redundant check for PTRACE_LISTEN availability

As ptrace.h already ensures that PTRACE_LISTEN is defined,
there is no need to check this fact in other places.

* strace.c (ptrace_restart): Do not check that PTRACE_LISTEN is defined.
strace.c