]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc005ca0bd3cb801e701b71da41a2f553dc6a03d1
tree76e0a60a7a24bf8923ed88f74abc3524de68df59
parent6757ee160ac3fc336324c4ac5a8718b5090c9ffe
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