[edk2] [PATCH v1 26/42] BaseTools: AutoGen - remove another function no one calls

Jaben Carsey posted 42 patches 7 years, 9 months ago
[edk2] [PATCH v1 26/42] BaseTools: AutoGen - remove another function no one calls
Posted by Jaben Carsey 7 years, 9 months ago
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>
---
 BaseTools/Source/Python/AutoGen/GenVar.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/BaseTools/Source/Python/AutoGen/GenVar.py b/BaseTools/Source/Python/AutoGen/GenVar.py
index 9d226d0f4567..4f894f3f73f3 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),
-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel