diff options
author | Carsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben> | 2018-04-04 05:03:06 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-04-08 14:50:16 +0800 |
commit | 0d8ff45567fd8fc8e89cdfd646f585c4984ec1b1 (patch) | |
tree | 68183fa88bfaf5f79cce17dcccc46691cb056b50 | |
parent | 9006a2c6a35bfa607ddaa6d6c2a0738b65f6da97 (diff) | |
download | edk2-0d8ff45567fd8fc8e89cdfd646f585c4984ec1b1.tar.gz edk2-0d8ff45567fd8fc8e89cdfd646f585c4984ec1b1.tar.bz2 edk2-0d8ff45567fd8fc8e89cdfd646f585c4984ec1b1.zip |
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>
-rw-r--r-- | BaseTools/Source/Python/Eot/FvImage.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/BaseTools/Source/Python/Eot/FvImage.py b/BaseTools/Source/Python/Eot/FvImage.py index affca4e71e..472ae40050 100644 --- a/BaseTools/Source/Python/Eot/FvImage.py +++ b/BaseTools/Source/Python/Eot/FvImage.py @@ -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
|