IntelFrameworkModulePkg: Use IsZeroGuid API for zero GUID checking

Instead of comparing a GUID with gZeroGuid via the CompareGuid API, the
commit uses the IsZeroGuid API to check if the given GUID is a zero GUID.

Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
Hao Wu
2016-08-30 09:51:40 +08:00
parent 5f53a7aa59
commit dc2109946d
3 changed files with 4 additions and 10 deletions

View File

@@ -21,7 +21,7 @@
# drivers to be aware of all reporting formats.
# For more information, please ref http://www.intel.com/technology/framework/
#
# Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -70,10 +70,6 @@
DebugLib
[Guids]
gZeroGuid ## SOMETIMES_CONSUMES ## GUID
[Protocols]
gEfiDataHubProtocolGuid ## PRODUCES