hv: remove repeated assignment

remove repeated assignment for vmcs_pa.

Tracked-On: #4956
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
This commit is contained in:
Conghui Chen 2020-06-17 17:05:52 +00:00 committed by wenlingz
parent ca9e98cc74
commit 53f74f18ac
1 changed files with 0 additions and 1 deletions

View File

@ -530,7 +530,6 @@ void init_vmcs(struct acrn_vcpu *vcpu)
exec_vmclear((void *)&vmcs_pa);
/* Load VMCS pointer */
vmcs_pa = hva2hpa(vcpu->arch.vmcs);
exec_vmptrld((void *)&vmcs_pa);
*vmcs_ptr = (void *)vcpu->arch.vmcs;