diff options
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | 2014-12-04 09:47:07 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2015-01-23 07:24:52 -0500 |
commit | 31928aa5863e71535ee942f506ca9ac8ce1c4315 (patch) | |
tree | 00cf453d0286079f990d9f2d221b5992346c2271 /arch/s390/kvm | |
parent | bab5bb398273bb37547a185f7b344b37c700d0b9 (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/s390/kvm')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 3e09801e3104..ec004f80ee45 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -615,9 +615,8 @@ static void kvm_s390_vcpu_initial_reset(struct kvm_vcpu *vcpu) | |||
615 | kvm_s390_clear_local_irqs(vcpu); | 615 | kvm_s390_clear_local_irqs(vcpu); |
616 | } | 616 | } |
617 | 617 | ||
618 | int kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) | 618 | void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu) |
619 | { | 619 | { |
620 | return 0; | ||
621 | } | 620 | } |
622 | 621 | ||
623 | static void kvm_s390_vcpu_crypto_setup(struct kvm_vcpu *vcpu) | 622 | static void kvm_s390_vcpu_crypto_setup(struct kvm_vcpu *vcpu) |