summaryrefslogtreecommitdiff
path: root/ospf6d
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-12-10 16:18:41 +0300
committerDenis Ovsienko <infrastation@yandex.ru>2009-12-10 16:18:41 +0300
commite580216e1ba2db506d1942e382852d07973a5fad (patch)
tree1932075db93d8989bcbd7b76c0603a00f5bb4647 /ospf6d
parent813f6a0064e76fdc8d509ddfbd4d3870d7027850 (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
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_interface.c17
-rw-r--r--ospf6d/ospf6_top.c2
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)