KVM: Use cond_resched() directly and remove useless kvm_resched()
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 13 Dec 2013 06:07:21 +0000 (15:07 +0900)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Dec 2013 13:23:45 +0000 (14:23 +0100)
Since the commit 15ad7146 ("KVM: Use the scheduler preemption notifiers
to make kvm preemptible"), the remaining stuff in this function is a
simple cond_resched() call with an extra need_resched() check which was
there to avoid dropping VCPUs unnecessarily.  Now it is meaningless.

Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

No differences found