aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/memif/node.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-14 18:05:13 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-05-19 19:06:07 +0000
commit6e9964e6c0a5d2a7102f22695f796054fd8f2b95 (patch)
tree570f4f0c4eeec0dccbfc7e98829c90e199cbb7de /src/plugins/memif/node.c
parent2e212c2c727b1228f4a5c9b785a42c4a58c3f2d5 (diff)
memif: remove dead code
Type: fix Change-Id: I6fce8c1f91fc5080271c1832bf40a9fb6bbcb7e3 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/memif/node.c')
-rw-r--r--src/plugins/memif/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 6c07b152f77..53039d3d0b6 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -150,7 +150,7 @@ memif_device_input_inline (vlib_main_t *vm, vlib_node_runtime_t *node,
memif_ring_t *ring;
memif_queue_t *mq;
u16 buffer_size = vlib_buffer_get_default_data_size (vm);
- uword n_trace = vlib_get_trace_count (vm, node);
+ uword n_trace;
u16 nexts[MEMIF_RX_VECTOR_SZ], *next = nexts;
u32 _to_next_bufs[MEMIF_RX_VECTOR_SZ], *to_next_bufs = _to_next_bufs, *bi;
u32 n_rx_packets = 0, n_rx_bytes = 0;