softlockup: minor cleanup, don't check task->state twice
authorOleg Nesterov <oleg@tv-sign.ru>
Sat, 30 Aug 2008 17:08:40 +0000 (21:08 +0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Sep 2008 17:49:51 +0000 (10:49 -0700)
The recent commit 16d9679f33caf7e683471647d1472bfe133d858 changed
check_hung_task() to filter out the TASK_KILLABLE tasks. We can
move this check to the caller which has to test t->state anyway.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found