mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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:
parent
c4cdc1794a
commit
0d6750b88c
1 changed files with 0 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue