Skip to content

Commit 12a3ec8

Browse files
Wei Liuwenlingz
authored andcommitted
acrn-config: remove redundant get_leaf_tag_map in launch config lib
The function of get_leaf_tag_map(info_file, prime_item, item='') in launch_config_lib.py is redundant and it will be called incorrectly when generating the launch script. This patch remove the function. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com>
1 parent 2c2ccfc commit 12a3ec8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

misc/acrn-config/library/launch_cfg_lib.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -366,17 +366,6 @@ def get_vpid_from_bdf(bdf_vpid_map, bdf_list):
366366
return vpid_list
367367

368368

369-
def get_leaf_tag_map(info_file, prime_item, item):
370-
"""
371-
:param info_file: some configurations in the info file
372-
:param prime_item: the prime item in xml file
373-
:param item: the item in xml file
374-
:return: dictionary which item value could be indexed by vmid
375-
"""
376-
vmid_item_dic = common.get_leaf_tag_map(info_file, prime_item, item)
377-
return vmid_item_dic
378-
379-
380369
def gen_patch(srcs_list, launch_name):
381370
"""
382371
Generate patch and apply to local source code

0 commit comments

Comments
 (0)