summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorCarsey, Jaben <jaben.carsey@intel.com>2018-04-28 06:32:40 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-05-04 13:03:09 +0800
commita2e721704bb5ee1ffd293711a02ac0c650d7cdd5 (patch)
tree540d40993bf620e96d1cfd43a5a58438f35fcadf /BaseTools
parent8b88b1634fa91fc8c3faedae8fec85c52d5a9260 (diff)
downloadedk2-a2e721704bb5ee1ffd293711a02ac0c650d7cdd5.zip
edk2-a2e721704bb5ee1ffd293711a02ac0c650d7cdd5.tar.gz
edk2-a2e721704bb5ee1ffd293711a02ac0c650d7cdd5.tar.bz2
BaseTools: AutoGen - remove another function no one calls
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')
-rw-r--r--BaseTools/Source/Python/AutoGen/GenVar.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenVar.py b/BaseTools/Source/Python/AutoGen/GenVar.py
index 9d226d0..4f894f3 100644
--- a/BaseTools/Source/Python/AutoGen/GenVar.py
+++ b/BaseTools/Source/Python/AutoGen/GenVar.py
@@ -26,11 +26,6 @@ var_info = collections.namedtuple("uefi_var", "pcdindex,pcdname,defaultstoragena
NvStorageHeaderSize = 28
VariableHeaderSize = 32
-def StringArrayToList(StringArray):
- StringArray = StringArray[1:-1]
- StringArray = '[' + StringArray + ']'
- return eval(StringArray)
-
def PackGUID(Guid):
GuidBuffer = pack('=LHHBBBBBBBB',
int(Guid[0], 16),