summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/Eot.py
diff options
context:
space:
mode:
authorCarsey, Jaben <jaben.carsey@intel.com>2018-04-28 06:32:25 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-05-04 13:03:02 +0800
commitcdd04623d73924103c22bdaf28e33f3bf5296b58 (patch)
tree775e25cc331d742688066e94f16597b41c07e175 /BaseTools/Source/Python/Eot/Eot.py
parent5373d8a0f9f50d42d812d27384d9487022a70199 (diff)
downloadedk2-cdd04623d73924103c22bdaf28e33f3bf5296b58.tar.gz
edk2-cdd04623d73924103c22bdaf28e33f3bf5296b58.tar.bz2
edk2-cdd04623d73924103c22bdaf28e33f3bf5296b58.zip
BaseTools: Eot - refactor global data
remove unused lists, dicts, and duplicate variables 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/Eot/Eot.py')
-rw-r--r--BaseTools/Source/Python/Eot/Eot.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/BaseTools/Source/Python/Eot/Eot.py b/BaseTools/Source/Python/Eot/Eot.py
index 15de822d69..fcde8fd3e2 100644
--- a/BaseTools/Source/Python/Eot/Eot.py
+++ b/BaseTools/Source/Python/Eot/Eot.py
@@ -302,9 +302,6 @@ class Eot(object):
EotGlobalData.gINF_FILES = mFileList
EotGlobalData.gOP_INF.close()
- EotGlobalData.gDEC_FILES = mDecFileList
-
-
## GenerateReport() method
#
# Generate final HTML report
@@ -393,8 +390,6 @@ class Eot(object):
SqlCommand = """select DISTINCT GuidValue, ItemType from Report where ModuleID = -2 and ItemMode = 'Produced'"""
RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
for Record in RecordSet:
- if Record[1] == 'Ppi':
- EotGlobalData.gPpiList[Record[0].lower()] = -2
if Record[1] == 'Protocol':
EotGlobalData.gProtocolList[Record[0].lower()] = -2