projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c301b90
)
KVM: x86: mmu: returning void in a void function is strange
author
David Hildenbrand
<david@redhat.com>
Thu, 24 Aug 2017 18:51:23 +0000
(20:51 +0200)
committer
Paolo 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
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/mmu.c
b/arch/x86/kvm/mmu.c
index 7a69cf053711197df9a0f2ec284ef5a436c42514..2586c7fd0deaf3135724d077df1125c164f3045d 100644
(file)
--- 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,