copy_process(): remove the unneeded clear_tsk_thread_flag(TIF_SIGPENDING)
commit72a1de39f89325a834a8c70b2a0d8f71d919f640
authorOleg Nesterov <oleg@redhat.com>
Wed, 17 Jun 2009 23:27:37 +0000 (17 16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:52 +0000 (18 13:03 -0700)
treef79fefd4eaad9cbc381792bddb1e1f3f432ad9f6
parent77d1ef79568b337f599b75795acc8f78a87ba9ba
copy_process(): remove the unneeded clear_tsk_thread_flag(TIF_SIGPENDING)

The forked child can have TIF_SIGPENDING if it was copied from parent's
ti->flags.  But this is harmless and actually almost never happens,
because copy_process() can't succeed if signal_pending() == T.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: 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