diff options
author | Carsey, Jaben <jaben.carsey@intel.com> | 2018-04-28 06:32:38 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-05-04 13:03:08 +0800 |
commit | 032a7c9fe26dfbab91ec83baa46d4a6b96878e88 (patch) | |
tree | f92e7eebcb26d7055431eda84ae0f4d7bb7342f2 /BaseTools/Source/Python/AutoGen/GenPcdDb.py | |
parent | 64bb8d4d51ec72051fffa96ddc91178fb6b33288 (diff) | |
download | edk2-032a7c9fe26dfbab91ec83baa46d4a6b96878e88.tar.gz edk2-032a7c9fe26dfbab91ec83baa46d4a6b96878e88.tar.bz2 edk2-032a7c9fe26dfbab91ec83baa46d4a6b96878e88.zip |
BaseTools: AutoGen - remove 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/Source/Python/AutoGen/GenPcdDb.py')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/GenPcdDb.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenPcdDb.py b/BaseTools/Source/Python/AutoGen/GenPcdDb.py index d237178c83..5ccdf1ccb7 100644 --- a/BaseTools/Source/Python/AutoGen/GenPcdDb.py +++ b/BaseTools/Source/Python/AutoGen/GenPcdDb.py @@ -261,17 +261,6 @@ def PackGuid(GuidStructureValue): )
return Buffer
-def toHex(s):
- lst = []
- for ch in s:
- hv = hex(ord(ch)).replace('0x', ' ')
- if len(hv) == 1:
- hv = '0'+hv
- lst.append(hv)
- if lst:
- return reduce(lambda x,y:x+y, lst)
- else:
- return 'empty'
## DbItemList
#
# The class holds the Pcd database items. ItemSize if not zero should match the item datum type in the C structure.
|