From: Damjan Marion Date: Tue, 9 Mar 2021 14:21:28 +0000 (+0100) Subject: vlib: remove unused function X-Git-Tag: v21.10-rc0~397 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F31594%2F1;p=vpp.git vlib: remove unused function Not used for a looong time.... Type: refactor Change-Id: I4b1d6216dbd349dd02c1d7c884f89ece66cd6045 Signed-off-by: Damjan Marion --- 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. */