diff options
author | Carsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben> | 2018-04-04 05:03:03 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-04-08 14:50:15 +0800 |
commit | 140b2b11a0dc7a414b93a9b8a50f5944d7a55d3e (patch) | |
tree | 22ce0f083339726b5c027b5e2988cdaf05e95fad /BaseTools/Source/Python | |
parent | 5af2a627d13f00f7dd782dde9db2ac7b821e8816 (diff) | |
download | edk2-140b2b11a0dc7a414b93a9b8a50f5944d7a55d3e.tar.gz edk2-140b2b11a0dc7a414b93a9b8a50f5944d7a55d3e.tar.bz2 edk2-140b2b11a0dc7a414b93a9b8a50f5944d7a55d3e.zip |
BaseTools: Eot tool never populates this dictionary
we initialize this dict and then check it's contents, but never add items.
we can remove it without any effect.
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r-- | BaseTools/Source/Python/Eot/Eot.py | 8 | ||||
-rw-r--r-- | BaseTools/Source/Python/Eot/EotGlobalData.py | 4 |
2 files changed, 0 insertions, 12 deletions
diff --git a/BaseTools/Source/Python/Eot/Eot.py b/BaseTools/Source/Python/Eot/Eot.py index c4164199ac..45c97bb258 100644 --- a/BaseTools/Source/Python/Eot/Eot.py +++ b/BaseTools/Source/Python/Eot/Eot.py @@ -340,14 +340,6 @@ class Eot(object): GuidMacro2 = ''
GuidValue = ''
- # Find value for hardcode guid macro
- if GuidName in EotGlobalData.gGuidMacroDict:
- GuidMacro = EotGlobalData.gGuidMacroDict[GuidName][0]
- GuidValue = EotGlobalData.gGuidMacroDict[GuidName][1]
- SqlCommand = """update Report set GuidMacro = '%s', GuidValue = '%s' where GuidName = '%s'""" %(GuidMacro, GuidValue, GuidName)
- EotGlobalData.gDb.TblReport.Exec(SqlCommand)
- continue
-
# Find guid value defined in Dec file
if GuidName in EotGlobalData.gGuidDict:
GuidValue = EotGlobalData.gGuidDict[GuidName]
diff --git a/BaseTools/Source/Python/Eot/EotGlobalData.py b/BaseTools/Source/Python/Eot/EotGlobalData.py index a4654853ab..dea4206e9d 100644 --- a/BaseTools/Source/Python/Eot/EotGlobalData.py +++ b/BaseTools/Source/Python/Eot/EotGlobalData.py @@ -72,10 +72,6 @@ gOP_SOURCE_FILES = open(gSOURCE_FILES, 'w+') # Dict for GUID found in DEC files
gGuidDict = dict()
-# Dict for hard coded GUID Macros
-# {GuidName : [GuidMacro : GuidValue]}
-gGuidMacroDict = sdict()
-
# Dict for PPI
gPpiList = {}
|