diff --git a/OvmfPkg/XenPlatformPei/Xen.c b/OvmfPkg/XenPlatformPei/Xen.c index a54fd55c70..ed78f4a996 100644 --- a/OvmfPkg/XenPlatformPei/Xen.c +++ b/OvmfPkg/XenPlatformPei/Xen.c @@ -132,7 +132,6 @@ XenConnect ( EFI_XEN_OVMF_INFO *Info; CHAR8 Sig[sizeof (Info->Signature) + 1]; UINT32 *PVHResetVectorData; - RETURN_STATUS Status; ASSERT (mXenLeaf != 0); @@ -199,13 +198,6 @@ XenConnect ( sizeof (mXenInfo) ); - // - // Initialize the XenHypercall library, now that the XenInfo HOB is - // available - // - Status = XenHypercallLibInit (); - ASSERT_RETURN_ERROR (Status); - return EFI_SUCCESS; }