From: Paul Mackerras Date: Mon, 20 Nov 2017 03:17:53 +0000 (+1100) Subject: KVM: PPC: Book3S HV: Remove useless statement X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4fcf361dbdbdb43038bb173e2391c4073e713745;p=openwrt%2Fstaging%2Fblogic.git KVM: PPC: Book3S HV: Remove useless statement This removes a statement that has no effect. It should have been removed in commit 898b25b202f3 ("KVM: PPC: Book3S HV: Simplify dynamic micro-threading code", 2017-06-22) along with the loop over the piggy-backed virtual cores. This issue was reported by Coverity. Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 2d46037ce936..597498d6db2e 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c @@ -2831,7 +2831,6 @@ static noinline void kvmppc_run_core(struct kvmppc_vcore *vc) */ if (!thr0_done) kvmppc_start_thread(NULL, pvc); - thr += pvc->num_threads; } /*