KVM: x86: mmu: returning void in a void function is strange
authorDavid Hildenbrand <david@redhat.com>
Thu, 24 Aug 2017 18:51:23 +0000 (20:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:51 +0000 (14:01 +0200)
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>
arch/x86/kvm/mmu.c

index 7a69cf053711197df9a0f2ec284ef5a436c42514..2586c7fd0deaf3135724d077df1125c164f3045d 100644 (file)
@@ -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,