diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-12-10 16:18:41 +0300 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2009-12-10 16:18:41 +0300 |
commit | e580216e1ba2db506d1942e382852d07973a5fad (patch) | |
tree | 1932075db93d8989bcbd7b76c0603a00f5bb4647 | |
parent | 813f6a0064e76fdc8d509ddfbd4d3870d7027850 (diff) |
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
-rw-r--r-- | ospf6d/ospf6_interface.c | 17 | ||||
-rw-r--r-- | ospf6d/ospf6_top.c | 2 |
2 files changed, 2 insertions, 17 deletions
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) |