tcp: remove unused code
Type: improvement Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Ib188f3331696dff6357a18f5bac5f1db3cefaeab
This commit is contained in:

committed by
Florin Coras

parent
26c7605243
commit
25ef5d3fc4
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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];
|
||||
|
||||
|
Reference in New Issue
Block a user