diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-11-20 04:17:53 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-11-23 04:23:14 +0100 |
commit | 4fcf361dbdbdb43038bb173e2391c4073e713745 (patch) | |
tree | 329148031681c2124a86ce7f54b05af8946d57ff /arch/powerpc/kvm | |
parent | KVM: PPC: Book3S HV: Fix typo in kvmppc_hv_get_dirty_log_radix() (diff) | |
download | linux-4fcf361dbdbdb43038bb173e2391c4073e713745.tar.xz 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/powerpc/kvm')
-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; } /* |