KVM: x86: remove dead initialization
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 9 Aug 2021 11:00:58 +0000 (07:00 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Aug 2021 07:20:18 +0000 (03:20 -0400)
commitffbe17cadaf564b5da0e4eabdcff1b719e184a76
tree2b14a5e2955a6737715df213df1eda5491aaccbf
parent1383279c6494c6b62d1d6939f34906a4d2ef721c
KVM: x86: remove dead initialization

hv_vcpu is initialized again a dozen lines below, and at this
point vcpu->arch.hyperv is not valid.  Remove the initializer.

Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c