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: NWang Xingchao <xingchao.wang@intel.com> Reviewed-by: NPaul Turner <pjt@google.com> Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1316194552-12019-1-git-send-email-xingchao.wang@intel.comSigned-off-by: NIngo Molnar <mingo@elte.hu>
Showing
想要评论请 注册 或 登录