KVM: remove unneeded return value of vcpu_postcreate
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Thu, 4 Dec 2014 14:47:07 +0000 (15:47 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 23 Jan 2015 12:24:52 +0000 (13:24 +0100)
commit31928aa5863e71535ee942f506ca9ac8ce1c4315
tree00cf453d0286079f990d9f2d221b5992346c2271
parentbab5bb398273bb37547a185f7b344b37c700d0b9
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>
arch/arm/kvm/arm.c
arch/mips/kvm/mips.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/kvm-s390.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h