aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-01-30 17:55:01 +0100
committerMichele Papalini <micpapal@cisco.com>2023-01-30 17:55:01 +0100
commit255759adf5c2bbf923ad00afe22602fb26844fb0 (patch)
tree6554d477e2e9842addcda5d712256a9b2b1c7820 /hicn-plugin
parent1d240b22d5f797372e48b81e51fa72c92f843e08 (diff)
fix(vpp): remove unused variables
Ref: HICN-835 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I2d2eedff244077c6378cdf731873ba2d1c4f8ae7
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/src/interest_hitpit_node.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/hicn-plugin/src/interest_hitpit_node.c b/hicn-plugin/src/interest_hitpit_node.c
index fb2393f54..7f1b0f449 100644
--- a/hicn-plugin/src/interest_hitpit_node.c
+++ b/hicn-plugin/src/interest_hitpit_node.c
@@ -49,10 +49,8 @@ hicn_interest_hitpit_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node,
hicn_interest_hitpit_next_t next_index;
hicn_interest_hitpit_runtime_t *rt;
vl_api_hicn_api_node_stats_get_reply_t stats = { 0 };
- f64 tnow;
u32 n_left_to_next;
vlib_buffer_t *b0;
- u8 isv6;
u32 bi0;
u32 next0 = HICN_INTEREST_HITPIT_NEXT_ERROR_DROP;
const hicn_strategy_vft_t *strategy_vft0;
@@ -73,9 +71,6 @@ hicn_interest_hitpit_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node,
n_left_from = frame->n_vectors;
next_index = node->cached_next_index;
- /* Capture time in vpp terms */
- tnow = vlib_time_now (vm);
-
while (n_left_from > 0)
{
vlib_get_next_frame (vm, node, next_index, to_next, n_left_to_next);
@@ -108,8 +103,6 @@ hicn_interest_hitpit_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node,
pcs_entry =
hicn_pcs_entry_get_entry_from_index (rt->pitcs, pit_entry_index);
- isv6 = hicn_buffer_is_v6 (b0);
-
// Increment packet counter
stats.pkts_processed += 1;
@@ -238,4 +231,4 @@ VLIB_REGISTER_NODE(hicn_interest_hitpit_node) =
* fd.io coding-style-patch-verification: ON
*
* Local Variables: eval: (c-set-style "gnu") End:
- */ \ No newline at end of file
+ */