OvmfPkg/XenPlatformPei: Remove call to XenHypercallLibInit

Since 0e6f6c715c ("OvmfPkg/XenHypercallLib: Use direct hypercalls"),
the XenHypercall library doesn't use the XenInfo HOB and we don't need
to recall the library init function a second time. Remove the now
misleading call and comment.

Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>
This commit is contained in:
Anthony PERARD 2026-04-27 12:01:41 +02:00 committed by mergify[bot]
parent c4cdc1794a
commit 0d6750b88c

View file

@ -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;
}