diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2007-10-17 02:27:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:52 -0400 |
commit | 715015e8da37c4d13e234def054bcbea116297e9 (patch) | |
tree | 3c3f2cd1d516d13d50ad33519dfe98a75243eb0d /include/linux/sched.h | |
parent | 18442cf28af81378cf8996d264b368bba47cf846 (diff) |
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 <oleg@tv-sign.ru>
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>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions