]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: AutoGen - remove another function no one calls
authorCarsey, Jaben <jaben.carsey@intel.com>
Fri, 27 Apr 2018 22:32:40 +0000 (06:32 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 4 May 2018 05:03:09 +0000 (13:03 +0800)
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>
BaseTools/Source/Python/AutoGen/GenVar.py

index 9d226d0f4567e2dcd7e5ce1f4c3b8fa387e72755..4f894f3f73f35e72cb4af9f1665d6bbcf6ae7648 100644 (file)
@@ -26,11 +26,6 @@ var_info = collections.namedtuple("uefi_var", "pcdindex,pcdname,defaultstoragena
 NvStorageHeaderSize = 28\r
 VariableHeaderSize = 32\r
 \r
-def StringArrayToList(StringArray):\r
-    StringArray = StringArray[1:-1]\r
-    StringArray = '[' + StringArray + ']'\r
-    return eval(StringArray)\r
-\r
 def PackGUID(Guid):\r
     GuidBuffer = pack('=LHHBBBBBBBB',\r
                 int(Guid[0], 16),\r