From e580216e1ba2db506d1942e382852d07973a5fad Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 10 Dec 2009 16:18:41 +0300 Subject: ospf6d: remove dead code * ospf6d/ospf6_interface.c * loopind(): sayonara * ospf6d/ospf6_top.c * ospf6_delete(): comment out, it might be useful if real shutdown is added --- ospf6d/ospf6_interface.c | 17 ----------------- ospf6d/ospf6_top.c | 2 ++ 2 files changed, 2 insertions(+), 17 deletions(-) (limited to 'ospf6d') diff --git a/ospf6d/ospf6_interface.c b/ospf6d/ospf6_interface.c index 2cd5303f..777bc7c9 100644 --- a/ospf6d/ospf6_interface.c +++ b/ospf6d/ospf6_interface.c @@ -690,23 +690,6 @@ neighbor_change (struct thread *thread) return 0; } -static int -loopind (struct thread *thread) -{ - struct ospf6_interface *oi; - - oi = (struct ospf6_interface *) THREAD_ARG (thread); - assert (oi && oi->interface); - - if (IS_OSPF6_DEBUG_INTERFACE) - zlog_debug ("Interface Event %s: [LoopInd]", - oi->interface->name); - - /* XXX not yet */ - - return 0; -} - int interface_down (struct thread *thread) { diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index c4cc9fac..82370268 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -143,6 +143,7 @@ ospf6_create (void) return o; } +#if 0 static void ospf6_delete (struct ospf6 *o) { @@ -163,6 +164,7 @@ ospf6_delete (struct ospf6 *o) XFREE (MTYPE_OSPF6_TOP, o); } +#endif static void ospf6_enable (struct ospf6 *o) -- cgit v1.2.1