From 0c25492eb42645f43e3fbbcf7407462429a03c65 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 8 Oct 2020 10:39:07 +0000 Subject: l2: Fix compile error on unused next_index Type: fix Signed-off-by: Neale Ranns Change-Id: Ifc6b4c15f6055df4f403e9cd633e31f061a6d2da --- src/vnet/l2/l2_input_node.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/vnet/l2/l2_input_node.c b/src/vnet/l2/l2_input_node.c index 898e16ab347..972529ad92a 100644 --- a/src/vnet/l2/l2_input_node.c +++ b/src/vnet/l2/l2_input_node.c @@ -53,7 +53,6 @@ typedef struct { /* per-pkt trace data */ u8 dst_and_src[12]; - u32 next_index; u32 sw_if_index; u32 feat_mask; } l2input_trace_t; @@ -237,14 +236,12 @@ l2input_node_inline (vlib_main_t * vm, int do_trace) { u32 n_left, *from; - l2input_next_t next_index; l2input_main_t *msm = &l2input_main; vlib_buffer_t *bufs[VLIB_FRAME_SIZE], **b = bufs; u16 nexts[VLIB_FRAME_SIZE], *next = nexts; from = vlib_frame_vector_args (frame); n_left = frame->n_vectors; /* number of packets to process */ - next_index = node->cached_next_index; vlib_get_buffers (vm, from, bufs, n_left); -- cgit 1.2.3-korg