]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Open code kvm_delete_memslot() into its only caller
authorSean Christopherson <seanjc@google.com>
Mon, 6 Dec 2021 19:54:08 +0000 (20:54 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:17 +0000 (04:24 -0500)
commite31add62d16cac9893766b7368fe4053d929bf65
treee53ed5937755500dfa24b71a4fa42d05cc39efb4
parent7424f3c1cd5f899e9accae4fa55b1e5301e3dff4
KVM: Open code kvm_delete_memslot() into its only caller

Fold kvm_delete_memslot() into __kvm_set_memory_region() to free up the
"kvm_delete_memslot()" name for use in a future helper.  The delete logic
isn't so complex/long that it truly needs a helper, and it will be
simplified a wee bit further in upcoming commits.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <2887631c31a82947faa488ab72f55f8c68b7c194.1638817638.git.maciej.szmigiero@oracle.com>
virt/kvm/kvm_main.c