[edk2] [PATCH v1 02/14] BaseTools: remove uncalled functions

Jaben Carsey posted 14 patches 6 years, 6 months ago
[edk2] [PATCH v1 02/14] BaseTools: remove uncalled functions
Posted by Jaben Carsey 6 years, 6 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/Common/TargetTxtClassObject.py | 27 --------------------
 1 file changed, 27 deletions(-)

diff --git a/BaseTools/Source/Python/Common/TargetTxtClassObject.py b/BaseTools/Source/Python/Common/TargetTxtClassObject.py
index 0ba7725dd5b5..f8459c892e36 100644
--- a/BaseTools/Source/Python/Common/TargetTxtClassObject.py
+++ b/BaseTools/Source/Python/Common/TargetTxtClassObject.py
@@ -137,33 +137,6 @@ class TargetTxtClassObject(object):
         F.close()
         return 0
 
-    ## Print the dictionary
-    #
-    # Print all items of dictionary one by one
-    #
-    # @param Dict:  The dictionary to be printed
-    #
-    def printDict(Dict):
-        if Dict is not None:
-            KeyList = Dict.keys()
-            for Key in KeyList:
-                if Dict[Key] != '':
-                    print Key + ' = ' + str(Dict[Key])
-
-    ## Print the dictionary
-    #
-    # Print the items of dictionary which matched with input key
-    #
-    # @param list:  The dictionary to be printed
-    # @param key:   The key of the item to be printed
-    #
-    def printList(Key, List):
-        if type(List) == type([]):
-            if len(List) > 0:
-                if Key.find(TAB_SPLIT) != -1:
-                    print "\n" + Key
-                    for Item in List:
-                        print Item
 ## TargetTxtDict
 #
 # Load target.txt in input Conf dir
-- 
2.16.2.windows.1

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