i386/hvf: Removes duplicate/shadowed variables in hvf_vcpu_exec
authorPhil Dennis-Jordan <phil@philjordan.eu>
Tue, 5 Nov 2024 15:58:00 +0000 (16:58 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 9 Nov 2024 07:34:07 +0000 (08:34 +0100)
commitb659ef9d358a692f941f1f46e7abef29231960d1
tree0b06fd3e9c01713d072fd3d123d65f7e93ddaecc
parent04858f95fa4b318bb662e046ab090179a1eeeebb
i386/hvf: Removes duplicate/shadowed variables in hvf_vcpu_exec

Pointers to the x86 CPU state already exist at the function scope,
no need to re-obtain them in individual exit reason cases.

Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu>
Link: https://lore.kernel.org/r/20241105155800.5461-6-phil@philjordan.eu
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/hvf.c