BaseTools: Eot remove unused code

2 functions and a dictionary that are not used.

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>
This commit is contained in:
Carsey, Jaben 2018-04-04 05:03:06 +08:00 committed by Yonghong Zhu
parent 9006a2c6a3
commit 0d8ff45567
1 changed files with 0 additions and 21 deletions

View File

@ -138,7 +138,6 @@ class FirmwareVolume(Image):
self.FfsDict = sdict()
self.OrderedFfsDict = sdict()
self.UnDispatchedFfsDict = sdict()
self.NoDepexFfsDict = sdict()
self.ProtocolList = sdict()
def CheckArchProtocol(self):
@ -284,26 +283,6 @@ class FirmwareVolume(Image):
self.DisPatchDxe(Db)
def DisPatchNoDepexFfs(self, Db):
# Last Load Drivers without Depex
for FfsID in self.NoDepexFfsDict:
NewFfs = self.NoDepexFfsDict.pop(FfsID)
self.OrderedFfsDict[FfsID] = NewFfs
self.LoadProtocol(Db, FfsID)
return True
def LoadCallbackProtocol(self):
IsLoad = True
for Protocol in self.ProtocolList:
for Callback in self.ProtocolList[Protocol][1]:
if Callback[0] not in self.OrderedFfsDict.keys():
IsLoad = False
continue
if IsLoad:
EotGlobalData.gProtocolList[Protocol.lower()] = self.ProtocolList[Protocol][0]
self.ProtocolList.pop(Protocol)
def LoadProtocol(self, Db, ModuleGuid):
SqlCommand = """select GuidValue from Report
where SourceFileFullPath in