[PATCH v2 2/2] powerpc/kvm: remove redundant assignment
Liu Ping Fan
kernelfans at gmail.com
Thu Nov 7 17:22:55 EST 2013
ret is assigned twice with the same value, so remove the later one.
Signed-off-by: Liu Ping Fan <pingfank at linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus at samba.org>
---
arch/powerpc/kvm/book3s_64_mmu_hv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c
index dbc1478..9b97b42 100644
--- a/arch/powerpc/kvm/book3s_64_mmu_hv.c
+++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c
@@ -733,7 +733,6 @@ int kvmppc_book3s_hv_page_fault(struct kvm_run *run, struct kvm_vcpu *vcpu,
lock_rmap(rmap);
/* Check if we might have been invalidated; let the guest retry if so */
- ret = RESUME_GUEST;
if (mmu_notifier_retry(vcpu->kvm, mmu_seq)) {
unlock_rmap(rmap);
goto out_unlock;
--
1.8.1.4
More information about the Linuxppc-dev
mailing list