diff options
author | Oliver Upton <[email protected]> | 2023-07-10 19:31:38 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-07-11 09:40:52 +0100 |
commit | c8a67729b8a36a5f4857de645ee9808fc99d8618 (patch) | |
tree | 56d59ab8ce3b436853ff81677d86fd2824e2486a /lib/memory-notifier-error-inject.c | |
parent | ea55d5a2cf7c507a9ac03b41716bf1877edad153 (diff) |
KVM: arm64: Remove pointless check for changed init target
At any time there is only a single valid value for KVM_ARM_VCPU_INIT,
depending on the current CPU implementation. In all likelihood, this
will be the generic ARMv8 target.
Drop the pointless check for a changed target value between calls to
KVM_ARM_VCPU_INIT and instead rely on the check against
kvm_target_cpu().
Signed-off-by: Oliver Upton <[email protected]>
Reviewed-by: Zenghui Yu <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions