Skip to content
Commit 48ebd0cf authored by Oliver Upton's avatar Oliver Upton Committed by Paolo Bonzini
Browse files

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: default avatarOliver Upton <oupton@google.com>
Message-Id: <20220204204705.3538240-8-oupton@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e67bd7df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment