tcp: remove unused code 16/38716/2
authorFilip Tehlar <ftehlar@cisco.com>
Fri, 21 Apr 2023 06:57:35 +0000 (08:57 +0200)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 21 Apr 2023 15:29:17 +0000 (15:29 +0000)
Type: improvement

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: Ib188f3331696dff6357a18f5bac5f1db3cefaeab

src/vnet/tcp/tcp.c
src/vnet/tcp/tcp.h

index 5c612a7..d0d8158 100644 (file)
@@ -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;
 }
 
index a1491b9..23849a3 100644 (file)
@@ -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];