]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: remove dead code
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 10 Dec 2009 13:18:41 +0000 (16:18 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Thu, 10 Dec 2009 13:18:41 +0000 (16:18 +0300)
* 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
ospf6d/ospf6_top.c

index 2cd5303fdb27f9fdb437b6fc441b1e4554d5eaa3..777bc7c96f75bfc5e0b167244187c47dc89d21cc 100644 (file)
@@ -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)
 {
index c4cc9fac8f7bca978013a86a56ba3965482cbc70..823702689cc0328025cacebf1d60eadb6b9a27b2 100644 (file)
@@ -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)