]> 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)
commit02aefdb597ab105a17732fd3510aa71cbffff230
tree76e0a60a7a24bf8923ed88f74abc3524de68df59
parentcdcfc33f146631371044f576fc7b64d7e71508a3
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