summaryrefslogtreecommitdiffstats
path: root/src/vlib/node.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-03-09 15:21:28 +0100
committerDamjan Marion <damarion@cisco.com>2021-03-09 15:21:32 +0100
commit31f0526852de07422206c5caed77fefa8bbed139 (patch)
tree0d385a0ef9ed393bffbb47c3e16cf93bc77137e4 /src/vlib/node.h
parentd01caf7fa215d2cbea8cfab1d3d0b6d9d04a5661 (diff)
vlib: remove unused function
Not used for a looong time.... Type: refactor Change-Id: I4b1d6216dbd349dd02c1d7c884f89ece66cd6045 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/node.h')
-rw-r--r--src/vlib/node.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h
index 1ec5a7a041d..0c815eaa4d2 100644
--- a/src/vlib/node.h
+++ b/src/vlib/node.h
@@ -221,15 +221,6 @@ uword CLIB_CPU_OPTIMIZED CLIB_MARCH_SFX (node##_fn)
unformat_function_t unformat_vlib_node_variant;
-always_inline vlib_node_registration_t *
-vlib_node_next_registered (vlib_node_registration_t * c)
-{
- c =
- clib_elf_section_data_next (c,
- c->n_next_nodes * sizeof (c->next_nodes[0]));
- return c;
-}
-
typedef struct
{
/* Total calls, clock ticks and vector elements processed for this node. */