diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-10-02 16:56:13 +0200 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-10-03 15:44:02 +0300 |
commit | 8a3c1a33476f6bfebd07954e2277dbc88003bd37 (patch) | |
tree | a0861917a144bc81aa70e9865a411f99ee621b2d /arch/x86/kvm/x86.c | |
parent | 95f93af4add9047f7d1ae4f43d12e66f2ba2d6f0 (diff) | |
download | lwn-8a3c1a33476f6bfebd07954e2277dbc88003bd37.tar.gz lwn-8a3c1a33476f6bfebd07954e2277dbc88003bd37.zip |
KVM: mmu: change useless int return types to void
kvm_mmu initialization is mostly filling in function pointers, there is
no way for it to fail. Clean up unused return values.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 890fa8273bff..c951c71dc80b 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -6699,7 +6699,7 @@ int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu) if (r) return r; kvm_vcpu_reset(vcpu); - r = kvm_mmu_setup(vcpu); + kvm_mmu_setup(vcpu); vcpu_put(vcpu); return r; |