diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-11-20 14:17:53 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-11-23 14:23:14 +1100 |
commit | 4fcf361dbdbdb43038bb173e2391c4073e713745 (patch) | |
tree | 329148031681c2124a86ce7f54b05af8946d57ff /arch | |
parent | 117647ff936e2d9684cc881d87c0291f46669c20 (diff) | |
download | linux-4fcf361dbdbdb43038bb173e2391c4073e713745.tar.gz linux-4fcf361dbdbdb43038bb173e2391c4073e713745.tar.bz2 linux-4fcf361dbdbdb43038bb173e2391c4073e713745.zip |
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 <paulus@ozlabs.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kvm/book3s_hv.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } /* |