diff --git a/lib/ansible/module_utils/network/nxos/nxos.py b/lib/ansible/module_utils/network/nxos/nxos.py index e16ff3dcd46..383d2cfb86e 100644 --- a/lib/ansible/module_utils/network/nxos/nxos.py +++ b/lib/ansible/module_utils/network/nxos/nxos.py @@ -1119,8 +1119,6 @@ class NxosCmdRef: # Multiple Instances: if isinstance(existing, dict) and multiple: - item_found = False - for ekey, evalue in existing.items(): if isinstance(evalue, dict): # Remove values set to string 'None' from dvalue