Browse Source

bgpd: ditch unused bgp_node_*() functions

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Tested-by: NetDEF CI System <cisystem@netdef.org>
David Lamparter 3 years ago
parent
commit
f458d88e57
1 changed files with 0 additions and 38 deletions
  1. 0 38
      bgpd/bgp_table.h

+ 0 - 38
bgpd/bgp_table.h

@@ -118,44 +118,6 @@ bgp_node_table (struct bgp_node *node)
 }
 
 /*
- * bgp_node_info
- *
- * Returns the 'info' pointer corresponding to a bgp node.
- */
-static inline void *
-bgp_node_info (const struct bgp_node *node)
-{
-  return node->info;
-}
-
-/*
- * bgp_node_set_info
- */
-static inline void
-bgp_node_set_info (struct bgp_node *node, void *info)
-{
-  node->info = info;
-}
-
-/*
- * bgp_node_prefix
- */
-static inline struct prefix *
-bgp_node_prefix (struct bgp_node *node)
-{
-  return &node->p;
-}
-
-/*
- * bgp_node_prefixlen
- */
-static inline u_char
-bgp_node_prefixlen (struct bgp_node *node)
-{
-  return bgp_node_prefix (node)->prefixlen;
-}
-
-/*
  * bgp_node_parent_nolock
  *
  * Gets the parent node of the given node without locking it.