Browse Source

lib: remove unused function: route_dump_node()

Denis Ovsienko 9 years ago
parent
commit
0d6388abc7
1 changed files with 0 additions and 17 deletions
  1. 0 17
      lib/table.c

+ 0 - 17
lib/table.c

@@ -219,23 +219,6 @@ route_unlock_node (struct route_node *node)
     route_node_delete (node);
 }
 
-/* Dump routing table. */
-static void __attribute__ ((unused))
-route_dump_node (struct route_table *t)
-{
-  struct route_node *node;
-  char buf[46];
-
-  for (node = route_top (t); node != NULL; node = route_next (node))
-    {
-      printf ("[%d] %p %s/%d\n", 
-	      node->lock,
-	      node->info,
-	      inet_ntop (node->p.family, &node->p.u.prefix, buf, 46),
-	      node->p.prefixlen);
-    }
-}
-
 /* Find matched prefix. */
 struct route_node *
 route_node_match (struct route_table *table, struct prefix *p)