KVM: PPC: Book3S HV: Remove useless statement

"Linux Kernel Mailing List" <[email protected]> Sat, 10 Feb 2018 22:00:24 +0000 (UTC)
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/4fcf361dbdbdb43038bb173e2391c4073e713745
Commit:     4fcf361dbdbdb43038bb173e2391c4073e713745
Parent:     117647ff936e2d9684cc881d87c0291f46669c20
Refname:    refs/heads/master
Author:     Paul Mackerras <[email protected]>
AuthorDate: Mon Nov 20 14:17:53 2017 +1100
Committer:  Paul Mackerras <[email protected]>
CommitDate: Thu Nov 23 14:23:14 2017 +1100

    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 <[email protected]>
---
 arch/powerpc/kvm/book3s_hv.c | 1 -
 1 file changed, 1 deletion(-)

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;
 	}
 
 	/*
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html