sched: Remove redundant test in check_preempt_tick()
authorWang Xingchao <xingchao.wang@intel.com>
Fri, 16 Sep 2011 17:35:52 +0000 (13:35 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 26 Sep 2011 11:25:49 +0000 (13:25 +0200)
commitf4cfb33ed980085b14a8f376281edb2e270f0244
treed4f4e8387cefcf44068597328e0901f09f45d4bc
parentbfa322c48dc69bfdaee10faf3bd8dbc23b39a21c
sched: Remove redundant test in check_preempt_tick()

The caller already checks for nr_running > 1, therefore we don't have
to do so again.

Signed-off-by: Wang Xingchao <xingchao.wang@intel.com>
Reviewed-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1316194552-12019-1-git-send-email-xingchao.wang@intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c