aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDominik Dingel <dingel@linux.vnet.ibm.com>2014-12-04 09:47:07 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-01-23 07:24:52 -0500
commit31928aa5863e71535ee942f506ca9ac8ce1c4315 (patch)
tree00cf453d0286079f990d9f2d221b5992346c2271 /arch/powerpc
parentbab5bb398273bb37547a185f7b344b37c700d0b9 (diff)
KVM: remove unneeded return value of vcpu_postcreate
The return value of kvm_arch_vcpu_postcreate is not checked in its caller. This is okay, because only x86 provides vcpu_postcreate right now and it could only fail if vcpu_load failed. But that is not possible during KVM_CREATE_VCPU (kvm_arch_vcpu_load is void, too), so just get rid of the unchecked return value. Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kvm/powerpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c
index c45eaab752b0..27c0face86f4 100644
--- a/arch/powerpc/kvm/powerpc.c
+++ b/arch/powerpc/kvm/powerpc.c
@@ -623,9 +623,8 @@ struct kvm_vcpu *kvm_arch_vcpu_create(struct kvm *kvm, unsigned int id)
623 return vcpu; 623 return vcpu;
624} 624}
625 625
626int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) 626void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu)
627{ 627{
628 return 0;
629} 628}
630 629
631void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu) 630void kvm_arch_vcpu_free(struct kvm_vcpu *vcpu)