public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH] edk2-staging/RedfishClientPkg: Update RedfishCollectionCommon.h
@ 2021-10-28  4:05 Abner Chang
  0 siblings, 0 replies; only message in thread
From: Abner Chang @ 2021-10-28  4:05 UTC (permalink / raw)
  To: devel; +Cc: nickle.wang, Liming Gao

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-28  4:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-28  4:05 [PATCH] edk2-staging/RedfishClientPkg: Update RedfishCollectionCommon.h Abner Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox