From: Oleg Nesterov Date: Wed, 17 Oct 2007 06:27:00 +0000 (-0700) Subject: wait_task_stopped/continued: remove unneeded p->signal != NULL check X-Git-Tag: v2.6.24-rc1~703 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=715015e8da37c4d13e234def054bcbea116297e9;p=pandora-kernel.git 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 Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed