KVM: arm64: Remove unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Mon, 14 Aug 2023 14:06:36 +0000 (22:06 +0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 15 Aug 2023 19:27:32 +0000 (20:27 +0100)
commita6b33d009fc1fe80c935f18b714b36c81e1f1400
treeee5985eb40d01572ac78f1141cd9126ce809a1aa
parent4460a7dc77d00340c59f7e4252c65efd5fbe877b
KVM: arm64: Remove unused declarations

Commit 53692908b0f5 ("KVM: arm/arm64: vgic: Fix source vcpu issues for GICv2 SGI")
removed vgic_v2_set_npie()/vgic_v3_set_npie() but not the declarations.
Commit 29eb5a3c57f7 ("KVM: arm64: Handle PtrAuth traps early") left behind
kvm_arm_vcpu_ptrauth_trap(), remove it.
Commit 2a0c343386ae ("KVM: arm64: Initialize trap registers for protected VMs")
declared but never implemented kvm_init_protected_traps() and
commit cf5d318865e2 ("arm/arm64: KVM: Turn off vcpus on PSCI shutdown/reboot")
declared but never implemented force_vm_exit().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230814140636.45988-1-yuehaibing@huawei.com
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/vgic/vgic.h