Merge tag 'kvmarm-fixes-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / arch / arm64 / kvm / arm.c
index e2dd575..2f03cbf 100644 (file)
@@ -299,14 +299,6 @@ struct kvm *kvm_arch_alloc_vm(void)
        return __vmalloc(sz, GFP_KERNEL_ACCOUNT | __GFP_HIGHMEM | __GFP_ZERO);
 }
 
-void kvm_arch_free_vm(struct kvm *kvm)
-{
-       if (!has_vhe())
-               kfree(kvm);
-       else
-               vfree(kvm);
-}
-
 int kvm_arch_vcpu_precreate(struct kvm *kvm, unsigned int id)
 {
        if (irqchip_in_kernel(kvm) && vgic_initialized(kvm))