x86: copy_thread: Don't nullify ->ptrace_bps twice
authorOleg Nesterov <oleg@redhat.com>
Tue, 2 Sep 2014 17:57:33 +0000 (19:57 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 2 Sep 2014 21:51:17 +0000 (14:51 -0700)
commit6f46b3aef0031c08a7b439d63013dad2aeb093b2
tree939cceda0d84c419d3ee35f6c2625734a4218be2
parentdc56c0f9b870fba7a4eef2bb463db6881284152b
x86: copy_thread: Don't nullify ->ptrace_bps twice

Both 32bit and 64bit versions of copy_thread() do memset(ptrace_bps)
twice for no reason, kill the 2nd memset().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Link: http://lkml.kernel.org/r/20140902175733.GA21676@redhat.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c