KVM: arm64: Remove kvm_arch_vm_ioctl_check_extension()
authorWill Deacon <will@kernel.org>
Wed, 18 Nov 2020 19:44:01 +0000 (19:44 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 27 Nov 2020 18:59:05 +0000 (18:59 +0000)
commit36fb4cd55f626dff0f6e76bed14707fa00147b7f
tree60ae9963e7089f58022b41f29817c1bd379dd5be
parent8d14797b53f044fda3ed42b5b6357c7622b8af58
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
arch/arm64/include/asm/cpufeature.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/reset.c