aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-01-21 14:50:16 +0100
committerMauro Sardara <msardara@cisco.com>2023-01-23 09:20:51 +0000
commit5c55c05438d881a138c66e4f3ad8021cd6aa0130 (patch)
tree886eaeabe9da87bf659807c7e30c25206a4b1965
parentf8a9c5b1a768ba01cff6738176b4ff7d5a5017bd (diff)
fix(vpp): remove unused variables in VPP
Ref: HICN-831 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I486806b6555ad39b050b97d91fbb428fd0f81387 (cherry picked from commit 5a86b5436c369547360ec8206d1f07261b9562f3)
-rw-r--r--hicn-plugin/src/strategy_node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hicn-plugin/src/strategy_node.c b/hicn-plugin/src/strategy_node.c
index 6c98f3b06..9c1a484d6 100644
--- a/hicn-plugin/src/strategy_node.c
+++ b/hicn-plugin/src/strategy_node.c
@@ -102,7 +102,6 @@ hicn_strategy_fn (vlib_main_t *vm, vlib_node_runtime_t *node,
hicn_strategy_next_t next_index;
hicn_strategy_runtime_t *rt = NULL;
vl_api_hicn_api_node_stats_get_reply_t stats = { 0 };
- f64 tnow;
vlib_buffer_t *b0;
u32 bi0;
hicn_face_id_t outfaces[MAX_OUT_FACES];
@@ -118,7 +117,6 @@ hicn_strategy_fn (vlib_main_t *vm, vlib_node_runtime_t *node,
rt = vlib_node_get_runtime_data (vm, hicn_strategy_node.index);
rt->pitcs = &hicn_main.pitcs;
/* Capture time in vpp terms */
- tnow = vlib_time_now (vm);
next0 = next_index;
while (n_left_from > 0)