]> Git Repo - linux.git/commit - kernel/exit.c
wait_task_stopped/continued: remove unneeded p->signal != NULL check
authorOleg Nesterov <[email protected]>
Wed, 17 Oct 2007 06:27:00 +0000 (23:27 -0700)
committerLinus Torvalds <[email protected]>
Wed, 17 Oct 2007 15:42:52 +0000 (08:42 -0700)
commit715015e8da37c4d13e234def054bcbea116297e9
tree3c3f2cd1d516d13d50ad33519dfe98a75243eb0d
parent18442cf28af81378cf8996d264b368bba47cf846
wait_task_stopped/continued: remove unneeded p->signal != NULL check

The child was found on ->children list under tasklist_lock, it must have a
valid ->signal. __exit_signal() both removes the task from parent->children
and clears ->signal "atomically" under write_lock(tasklist).

Remove unneeded checks.

Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/exit.c
This page took 0.053416 seconds and 4 git commands to generate.