KVM: VMX: Use local pointer to vcpu_vmx in vmx_vcpu_after_set_cpuid()
authorOliver Upton <oupton@google.com>
Fri, 4 Feb 2022 20:47:05 +0000 (20:47 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:48 +0000 (13:50 -0500)
commit48ebd0cf23f8dc9de2ac56fae97c5e7206cc9679
tree391bbe5bbe83d7b6058cacf89ebb2ac693495ed9
parente67bd7df28a0f2193512184e24a2de4bfd77c69e
KVM: VMX: Use local pointer to vcpu_vmx in vmx_vcpu_after_set_cpuid()

There is a local that contains a pointer to vcpu_vmx already. Just use
that instead to get at the structure directly instead of doing pointer
arithmetic.

No functional change intended.

Signed-off-by: Oliver Upton <oupton@google.com>
Message-Id: <20220204204705.3538240-8-oupton@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c