[PATCH v2 1/3] examples/flow_filtering: remove unused variable

Ariel Otilibili otilibil at eurecom.fr
Wed Jan 15 13:11:50 CET 2025


Coverity issue: 451221
Fixes: 16158f349000 ("examples/flow_filtering: introduce use cases snippets")
Signed-off-by: Ariel Otilibili <otilibil at eurecom.fr>
---
 examples/flow_filtering/snippets/snippet_match_ipv4.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/examples/flow_filtering/snippets/snippet_match_ipv4.c b/examples/flow_filtering/snippets/snippet_match_ipv4.c
index 808208e7b069..65fb045e8b1e 100644
--- a/examples/flow_filtering/snippets/snippet_match_ipv4.c
+++ b/examples/flow_filtering/snippets/snippet_match_ipv4.c
@@ -76,7 +76,6 @@ snippet_ipv4_flow_create_actions_template(uint16_t port_id, struct rte_flow_erro
 		.ingress = 1,
 	};
 
-	tactions[0].type = RTE_FLOW_ACTION_TYPE_QUEUE;
 	tactions[0].type = RTE_FLOW_ACTION_TYPE_END;
 
 	/* This sets the masks to match the actions, indicating that all fields of the actions
-- 
2.30.2



More information about the dev mailing list