[edk2-devel] [PATCH] edk2-staging/RedfishClientPkg: Update RedfishCollectionCommon.h

Abner Chang posted 1 patch 2 years, 5 months ago
Failed in applying to current master (apply log)
.../Include/RedfishCollectionCommon.h             | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
[edk2-devel] [PATCH] edk2-staging/RedfishClientPkg: Update RedfishCollectionCommon.h
Posted by Abner Chang 2 years, 5 months ago
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.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-