From 21e28a431bbc6f08a02bbc6e7d5a30d4d262984b Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Fri, 19 May 2017 10:57:16 +0530 Subject: [PATCH] Remove unused method from nxos_ospf (#24820) --- lib/ansible/modules/network/nxos/nxos_ospf.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_ospf.py b/lib/ansible/modules/network/nxos/nxos_ospf.py index 746e7187a5..6fb4f7091a 100644 --- a/lib/ansible/modules/network/nxos/nxos_ospf.py +++ b/lib/ansible/modules/network/nxos/nxos_ospf.py @@ -100,15 +100,6 @@ def get_existing(module): return existing -def apply_key_map(key_map, table): - new_dict = {} - for key, value in table: - new_key = key_map.get(key) - if new_key: - new_dict[new_key] = table.get(key) - return new_dict - - def state_present(module, proposed, candidate): commands = ['router ospf {0}'.format(proposed['ospf'])] candidate.add(commands, parents=[])