From 97f069bf30dc821ae2c8f90d2f9c741ad4ee9247 Mon Sep 17 00:00:00 2001 From: Qihang Gao Date: Wed, 29 Apr 2026 15:33:27 +0800 Subject: [PATCH] RedfishPkg: Remove unnecessary Depex section in library modules Libraries that may be consumed by UEFI_DRIVER should not have depex section for UEFI_DRIVER. The INF specification said: If the Module is a Library, then a [Depex] section is optional. Regarding HiiUtilityLib, RedfishDebugLib and RedfishHttpLib, they don't have additional dependence, so the Depex sections should be removed to ensure no adverse impact on the UEFI_DRIVER. Signed-off-by: Qihang Gao --- RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf | 3 --- RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf | 3 --- RedfishPkg/Library/RedfishHttpLib/RedfishHttpLib.inf | 4 ---- 3 files changed, 10 deletions(-) diff --git a/RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf b/RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf index cab3f8a0ee..a48de5f988 100644 --- a/RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf +++ b/RedfishPkg/Library/HiiUtilityLib/HiiUtilityLib.inf @@ -57,6 +57,3 @@ gEfiUnicodeCollation2ProtocolGuid gEfiRegularExpressionProtocolGuid gEfiUserManagerProtocolGuid - -[Depex] - TRUE diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf index 42ff321b48..b1e21724f2 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf @@ -38,6 +38,3 @@ [FixedPcd] gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDebugCategory - -[Depex] - TRUE diff --git a/RedfishPkg/Library/RedfishHttpLib/RedfishHttpLib.inf b/RedfishPkg/Library/RedfishHttpLib/RedfishHttpLib.inf index fd53b8c2ed..1aa827c3d8 100644 --- a/RedfishPkg/Library/RedfishHttpLib/RedfishHttpLib.inf +++ b/RedfishPkg/Library/RedfishHttpLib/RedfishHttpLib.inf @@ -37,7 +37,3 @@ [Protocols] gEdkIIRedfishHttpProtocolGuid ## CONSUMES ## - -[depex] - TRUE -