]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/DataHubDxe/DataHub.c
IntelFrameworkModulePkg: Use IsZeroGuid API for zero GUID checking
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / DataHubDxe / DataHub.c
index 91f7c7ecf9da4f651da7075bf6e72f0a68fae740..916586f11235b9180b0f23f48804b80c86982dbd 100644 (file)
@@ -2,7 +2,7 @@
   This code produces the Data Hub protocol. It preloads the data hub\r
   with status information copied in from PEI HOBs.\r
   \r
-Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -139,7 +139,7 @@ DataHubLogData (
   for (Link = GetFirstNode(Head); Link != Head; Link = GetNextNode(Head, Link)) {\r
     FilterEntry = FILTER_ENTRY_FROM_LINK (Link);\r
     if (((FilterEntry->ClassFilter & DataRecordClass) != 0) &&\r
-        (CompareGuid (&FilterEntry->FilterDataRecordGuid, &gZeroGuid) || \r
+        (IsZeroGuid (&FilterEntry->FilterDataRecordGuid) ||\r
          CompareGuid (&FilterEntry->FilterDataRecordGuid, DataRecordGuid))) {\r
       gBS->SignalEvent (FilterEntry->Event);\r
     }\r