OvmfPkg/XenHypercallLib: Remove unused HobLib
Commit 0e6f6c715c59 removed the use of gEfiXenInfoGuid.
Fixes: 0e6f6c715c59 ("OvmfPkg/XenHypercallLib: Use direct hypercalls")
Signed-off-by: Anthony PERARD <anthony.perard@vates.tech>
diff --git a/OvmfPkg/Include/Library/XenHypercallLib.h b/OvmfPkg/Include/Library/XenHypercallLib.h
index fb21f61..b9a82b8 100644
--- a/OvmfPkg/Include/Library/XenHypercallLib.h
+++ b/OvmfPkg/Include/Library/XenHypercallLib.h
@@ -10,10 +10,7 @@
#pragma once
/**
- To call when the gEfiXenInfoGuid HOB became available after the library init
- function has already been executed.
-
- This allow to make hypercall in the PEIM stage.
+ Initialise library.
**/
RETURN_STATUS
EFIAPI
diff --git a/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf b/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
index 93fb037..5cc21de 100644
--- a/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
+++ b/OvmfPkg/Library/XenHypercallLib/XenHypercallLib.inf
@@ -43,8 +43,4 @@
[LibraryClasses.X64]
CpuLib
BaseLib
- HobLib
DebugLib
-
-[Guids.X64]
- gEfiXenInfoGuid