fork.c: cleanup for copy_sighand()
authorZhaolei <zhaolei@cn.fujitsu.com>
Tue, 6 Jan 2009 22:40:46 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:11 +0000 (15:59 -0800)
commit60348802e9cb137ee86590c3e4c57c1ec2e8fc69
tree0c8fb3de7410898643f992081650a307f17dea28
parentf1883f86dea84fe47a71a39fc1afccc005915ed8
fork.c: cleanup for copy_sighand()

Check CLONE_SIGHAND only is enough, because combination of CLONE_THREAD and
CLONE_SIGHAND is already done in copy_process().

Impact: cleanup, no functionality changed

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c