diff options
author | David Hildenbrand <david@redhat.com> | 2017-08-24 21:51:23 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-10-12 15:01:51 +0300 |
commit | bb606a9b802584f753f48b6e3369a3026bf5a824 (patch) | |
tree | c73312f42a1762b54bf5c1922f0a2ed351678939 /arch/x86/kvm | |
parent | c301b909e4b94e6395251787e28b335c51309fff (diff) | |
download | linux-bb606a9b802584f753f48b6e3369a3026bf5a824.tar.xz |
KVM: x86: mmu: returning void in a void function is strange
Let's just drop the return.
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r-- | arch/x86/kvm/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 7a69cf053711..2586c7fd0dea 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2424,7 +2424,7 @@ static void __shadow_walk_next(struct kvm_shadow_walk_iterator *iterator, static void shadow_walk_next(struct kvm_shadow_walk_iterator *iterator) { - return __shadow_walk_next(iterator, *iterator->sptep); + __shadow_walk_next(iterator, *iterator->sptep); } static void link_shadow_page(struct kvm_vcpu *vcpu, u64 *sptep, |