projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117647f
)
KVM: PPC: Book3S HV: Remove useless statement
author
Paul Mackerras
<paulus@ozlabs.org>
Mon, 20 Nov 2017 03:17:53 +0000
(14:17 +1100)
committer
Paul Mackerras
<paulus@ozlabs.org>
Thu, 23 Nov 2017 03:23:14 +0000
(14:23 +1100)
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>
arch/powerpc/kvm/book3s_hv.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/book3s_hv.c
b/arch/powerpc/kvm/book3s_hv.c
index 2d46037ce93664199adee27806b8972d9130368d..597498d6db2e27f6c87124ec9beb6f3cfbe8472d 100644
(file)
--- 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;
}
/*