From 25ef5d3fc4a3b9abdb227d322fd589d163e92497 Mon Sep 17 00:00:00 2001 From: Filip Tehlar Date: Fri, 21 Apr 2023 08:57:35 +0200 Subject: tcp: remove unused code Type: improvement Signed-off-by: Filip Tehlar Change-Id: Ib188f3331696dff6357a18f5bac5f1db3cefaeab --- src/vnet/tcp/tcp.c | 4 ---- src/vnet/tcp/tcp.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c index 5c612a73970..d0d8158ef00 100644 --- a/src/vnet/tcp/tcp.c +++ b/src/vnet/tcp/tcp.c @@ -1526,10 +1526,6 @@ tcp_main_enable (vlib_main_t * vm) tm->bytes_per_buffer = vlib_buffer_get_default_data_size (vm); tm->cc_last_type = TCP_CC_LAST; - tm->ipl_next_node[0] = vlib_node_get_next (vm, session_queue_node.index, - ip4_lookup_node.index); - tm->ipl_next_node[1] = vlib_node_get_next (vm, session_queue_node.index, - ip6_lookup_node.index); return error; } diff --git a/src/vnet/tcp/tcp.h b/src/vnet/tcp/tcp.h index a1491b944dd..23849a398ae 100644 --- a/src/vnet/tcp/tcp.h +++ b/src/vnet/tcp/tcp.h @@ -215,9 +215,6 @@ typedef struct _tcp_main /** vlib buffer size */ u32 bytes_per_buffer; - /** Session layer edge indices to ip lookup (syns, rst) */ - u32 ipl_next_node[2]; - /** Dispatch table by state and flags */ tcp_lookup_dispatch_t dispatch_table[TCP_N_STATES][64]; -- cgit 1.2.3-korg