mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
64bb8d4d51
commit
032a7c9fe2
|
@ -261,17 +261,6 @@ def PackGuid(GuidStructureValue):
|
||||||
)
|
)
|
||||||
return Buffer
|
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
|
## DbItemList
|
||||||
#
|
#
|
||||||
# The class holds the Pcd database items. ItemSize if not zero should match the item datum type in the C structure.
|
# The class holds the Pcd database items. ItemSize if not zero should match the item datum type in the C structure.
|
||||||
|
|
Loading…
Reference in New Issue