OSDN Git Service

KVM: arm64: Drop unused param from kvm_psci_version()
authorOliver Upton <oupton@google.com>
Tue, 8 Feb 2022 01:27:05 +0000 (01:27 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 8 Feb 2022 15:25:34 +0000 (15:25 +0000)
commitdfefa04a90cf9a20090cfa096153d64f95b7e33f
tree76e0a60a7a24bf8923ed88f74abc3524de68df59
parentdfd42facf1e4ada021b939b4e19c935dcdd55566
KVM: arm64: Drop unused param from kvm_psci_version()

kvm_psci_version() consumes a pointer to struct kvm in addition to a
vcpu pointer. Drop the kvm pointer as it is unused. While the comment
suggests the explicit kvm pointer was useful for calling from hyp, there
exist no such callsite in hyp.

Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220208012705.640444-1-oupton@google.com
arch/arm64/kvm/psci.c
include/kvm/arm_psci.h