]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Remove superfluous gotos from mmu_topup_memory_caches()
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 3 Jul 2020 02:35:28 +0000 (19:35 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2020 17:29:38 +0000 (13:29 -0400)
commit5c38a6b35433bad5db32065c54b652ebbc65c127
tree5d83d8b6e74077c17697bc74a196826538b09e5b
parentdc4fda36078db43667a955a089bae0a60ea42de0
KVM: x86/mmu: Remove superfluous gotos from mmu_topup_memory_caches()

Return errors directly from mmu_topup_memory_caches() instead of
branching to a label that does the same.

No functional change intended.

Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200703023545.8771-5-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c