aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/autogen/Regenerator.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python/autogen/Regenerator.py')
-rw-r--r--resources/libraries/python/autogen/Regenerator.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/resources/libraries/python/autogen/Regenerator.py b/resources/libraries/python/autogen/Regenerator.py
index 7a6bc9f388..706c250ec2 100644
--- a/resources/libraries/python/autogen/Regenerator.py
+++ b/resources/libraries/python/autogen/Regenerator.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2023 Cisco and/or its affiliates.
+# Copyright (c) 2024 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -380,7 +380,6 @@ def write_default_files(in_filename, in_prolog, kwargs_list):
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
-
iface, suite_id, suite_tag = get_iface_and_suite_ids(
out_filename
)
@@ -441,7 +440,6 @@ def write_reconf_files(in_filename, in_prolog, kwargs_list):
tmp_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
- nic_code = Constants.NIC_NAME_TO_CODE[nic_name]
out_filename = replace_defensively(
tmp_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
@@ -471,7 +469,6 @@ def write_reconf_files(in_filename, in_prolog, kwargs_list):
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
-
iface, suite_id, suite_tag = get_iface_and_suite_ids(out_filename)
out_prolog = replace_defensively(
out_prolog, old_suite_tag, suite_tag, 1,
@@ -515,7 +512,6 @@ def write_tcp_files(in_filename, in_prolog, kwargs_list):
tmp_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
- nic_code = Constants.NIC_NAME_TO_CODE[nic_name]
out_filename = replace_defensively(
tmp_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
@@ -545,7 +541,6 @@ def write_tcp_files(in_filename, in_prolog, kwargs_list):
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
-
iface, suite_id, suite_tag = get_iface_and_suite_ids(out_filename)
out_prolog = replace_defensively(
out_prolog, old_suite_tag, suite_tag, 1,
@@ -677,7 +672,6 @@ def write_device_files(in_filename, in_prolog, kwargs_list):
tmp2_filename
)
for driver in Constants.NIC_NAME_TO_DRIVER[nic_name]:
- nic_code = Constants.NIC_NAME_TO_CODE[nic_name]
out_filename = replace_defensively(
tmp2_filename, old_suite_id,
Constants.NIC_DRIVER_TO_SUITE_PREFIX[driver] + old_suite_id,
@@ -707,7 +701,6 @@ def write_device_files(in_filename, in_prolog, kwargs_list):
Constants.NIC_CODE_TO_PFS[nic_code], 1,
"NIC PFs argument should appear once.", in_filename
)
-
iface, suite_id, suite_tag = get_iface_and_suite_ids(
out_filename
)