From f06834b80504497824ce50b533ba4fedb6abf2c7 Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 19 Sep 2005 10:44:04 +0000 Subject: * isis_lsp.c, isis_pdu.c, isis_spf.c: Remove some old unused code. --- isisd/isis_spf.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'isisd/isis_spf.c') 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) -- cgit v1.2.1