]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/InfBuildData.py
BaseTools: Refactor to remove functionally equivalent functions
authorCarsey, Jaben <jaben.carsey@intel.com>
Wed, 29 Aug 2018 14:42:21 +0000 (22:42 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 30 Aug 2018 13:05:18 +0000 (21:05 +0800)
commitf5f4667dae711a7e34c75a4cd8f7a683c732a566
tree2481cbd594a90b833dee24bdae8410aa3d2aef75
parent0fece18d6df83cede91a4c8644c2278e63794a62
BaseTools: Refactor to remove functionally equivalent functions

IsSupportedArch and IsBinaryModule return the same value under the same
curcimstances.  Remove newer one with fewer callers and send them to the
other function.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@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>
BaseTools/Source/Python/AutoGen/AutoGen.py
BaseTools/Source/Python/Workspace/InfBuildData.py