Update RedfishCollectionCommon.h header file. Remove the "Event" field from REDFISH_COLLECTION_PRIVATE because the feature driver is not started up by the EFI event that is registered by feature driver itself anymore.
Signed-off-by: Nickle Wang <nickle.w...@hpe.com> Cc: Abner Chang <abner.ch...@hpe.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> --- .../Include/RedfishCollectionCommon.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/RedfishClientPkg/Include/RedfishCollectionCommon.h b/RedfishClientPkg/Include/RedfishCollectionCommon.h index 3962b361ed3..05a0f672f39 100644 --- a/RedfishClientPkg/Include/RedfishCollectionCommon.h +++ b/RedfishClientPkg/Include/RedfishCollectionCommon.h @@ -36,15 +36,14 @@ #define REDFISH_DEBUG_TRACE DEBUG_INFO typedef struct _REDFISH_COLLECTION_PRIVATE { - EFI_REST_JSON_STRUCTURE_PROTOCOL *JsonStructProtocol; - EDKII_REDFISH_FEATURE_PROTOCOL *FeatureProtocol; - REDFISH_SERVICE RedfishService; + EFI_REST_JSON_STRUCTURE_PROTOCOL *JsonStructProtocol; + EDKII_REDFISH_FEATURE_PROTOCOL *FeatureProtocol; + REDFISH_SERVICE RedfishService; EDKII_REDFISH_CONFIG_HANDLER_PROTOCOL ConfigHandler; - EFI_EVENT Event; - CHAR8 *CollectionPath; - CHAR8 *CollectionJson; - REDFISH_PAYLOAD CollectionPayload; - REDFISH_RESPONSE RedResponse; + CHAR8 *CollectionPath; + CHAR8 *CollectionJson; + REDFISH_PAYLOAD CollectionPayload; + REDFISH_RESPONSE RedResponse; } REDFISH_COLLECTION_PRIVATE; #define REDFISH_COLLECTION_PRIVATE_DATA_FROM_PROTOCOL(This) \ -- 2.21.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#82791): https://edk2.groups.io/g/devel/message/82791 Mute This Topic: https://groups.io/mt/86645618/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-