summaryrefslogtreecommitdiff
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
authorhasso <hasso>2005-09-19 10:44:04 +0000
committerhasso <hasso>2005-09-19 10:44:04 +0000
commitf06834b80504497824ce50b533ba4fedb6abf2c7 (patch)
tree65a379aa4cc493ae9e547be740a3169d86206586 /isisd/isis_spf.c
parente6a4feb763749ff0c63558db456e617915fd1386 (diff)
* isis_lsp.c, isis_pdu.c, isis_spf.c: Remove some old unused code.
Diffstat (limited to 'isisd/isis_spf.c')
-rw-r--r--isisd/isis_spf.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index ba7acbfb..1a5a2db0 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -58,28 +58,6 @@ extern struct host host;
int isis_run_spf_l1 (struct thread *thread);
int isis_run_spf_l2 (struct thread *thread);
-#if 0
-/* performace issue ???? HT: Old or new code? */
-static void
-union_adjlist (struct list *target, struct list *source)
-{
- struct isis_adjacency *adj, *adj2;
- struct listnode *node, *node2;
-
- zlog_debug ("Union adjlist!");
- for (ALL_LIST_ELEMENTS_RO (source, node, adj))
- {
- /* lookup adjacency in the source list */
- for (ALL_LIST_ELEMENTS_RO (target, node2, adj2))
- if (adj == adj2)
- break;
-
- if (!node2)
- listnode_add (target, adj);
- }
-}
-#endif
-
/* 7.2.7 */
static void
remove_excess_adjs (struct list *adjs)