X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fadj%2Fadj.c;h=11f1680d3296a764f3c55f890f6d503273ee6cda;hb=4008ac998f43265451281cb6e759cd6184e50bed;hp=a99f173f6d0185a2c04f0a7f0adbfcc9220e99a2;hpb=7112c542eac53d28861062b13b602a2817dc4052;p=vpp.git diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c index a99f173f6d0..11f1680d329 100644 --- a/src/vnet/adj/adj.c +++ b/src/vnet/adj/adj.c @@ -441,25 +441,3 @@ VLIB_CLI_COMMAND (adj_show_command, static) = { .short_help = "show adj [] [interface]", .function = adj_show, }; - -/* - * DEPRECATED: DO NOT USE - */ -ip_adjacency_t * -ip_add_adjacency (ip_lookup_main_t * lm, - ip_adjacency_t * copy_adj, - u32 n_adj, - u32 * adj_index_return) -{ - ip_adjacency_t * adj; - - ASSERT(1==n_adj); - - adj = adj_alloc(FIB_PROTOCOL_IP4); - - if (copy_adj) - *adj = *copy_adj; - - *adj_index_return = adj_get_index(adj); - return adj; -}