]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Delete pointless switch statement in kvm_reset_vcpu()
authorOliver Upton <oliver.upton@linux.dev>
Mon, 10 Jul 2023 19:31:37 +0000 (19:31 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 11 Jul 2023 08:40:52 +0000 (09:40 +0100)
commitea55d5a2cf7c507a9ac03b41716bf1877edad153
tree8ed57b8f5b77b86a4b947ff3555f3d69c83baa04
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
KVM: arm64: Delete pointless switch statement in kvm_reset_vcpu()

The vCPU target hasn't mattered for quite a long time now. Delete the
useless switch statement in kvm_reset_vcpu(), which hilariously only had
a default case in it.

Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230710193140.1706399-2-oliver.upton@linux.dev
arch/arm64/kvm/reset.c