copy_signal() cleanup: use zalloc and remove initializations
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 10 Mar 2010 23:23:01 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:39 +0000 (15:52 -0800)
commita56704ef6b0c5796c9ff38cc78aa232dfb9644d7
tree7f304a916fbcd22388ed1a66c63c5571f9572bd7
parente34112e3966fc466ced2698e6c196bb50b1ee20e
copy_signal() cleanup: use zalloc and remove initializations

Use kmem_cache_zalloc() on signal creation and remove unneeded
initialization lines in copy_signal().

Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c