diff options
author | Will Deacon <will@kernel.org> | 2020-11-18 22:44:01 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-27 21:59:05 +0300 |
commit | 36fb4cd55f626dff0f6e76bed14707fa00147b7f (patch) | |
tree | 60ae9963e7089f58022b41f29817c1bd379dd5be /arch/arm64/include/asm/kvm_host.h | |
parent | 8d14797b53f044fda3ed42b5b6357c7622b8af58 (diff) | |
download | linux-36fb4cd55f626dff0f6e76bed14707fa00147b7f.tar.xz |
KVM: arm64: Remove kvm_arch_vm_ioctl_check_extension()
kvm_arch_vm_ioctl_check_extension() is only called from
kvm_vm_ioctl_check_extension(), so we can inline it and remove the extra
function.
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201118194402.2892-3-will@kernel.org
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 32db7196504f..6691043d8930 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -58,7 +58,6 @@ int kvm_arm_init_sve(void); int __attribute_const__ kvm_target_cpu(void); int kvm_reset_vcpu(struct kvm_vcpu *vcpu); void kvm_arm_vcpu_destroy(struct kvm_vcpu *vcpu); -int kvm_arch_vm_ioctl_check_extension(struct kvm *kvm, long ext); void __extended_idmap_trampoline(phys_addr_t boot_pgd, phys_addr_t idmap_start); struct kvm_vmid { |