[PATCH 11/11] test/event: fix build with clang 15
David Marchand
david.marchand at redhat.com
Fri Nov 18 09:53:13 CET 2022
This variable is not used.
Fixes: d1f3385d0076 ("test: add event timer adapter auto-test")
Cc: stable at dpdk.org
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
app/test/test_event_timer_adapter.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/app/test/test_event_timer_adapter.c b/app/test/test_event_timer_adapter.c
index 654c412836..1a440dfd10 100644
--- a/app/test/test_event_timer_adapter.c
+++ b/app/test/test_event_timer_adapter.c
@@ -911,7 +911,6 @@ _cancel_thread(void *args)
{
RTE_SET_USED(args);
struct rte_event_timer *ev_tim = NULL;
- uint64_t cancel_count = 0;
uint16_t ret;
while (!arm_done || rte_ring_count(timer_producer_ring) > 0) {
@@ -921,7 +920,6 @@ _cancel_thread(void *args)
ret = rte_event_timer_cancel_burst(timdev, &ev_tim, 1);
TEST_ASSERT_EQUAL(ret, 1, "Failed to cancel timer");
rte_mempool_put(eventdev_test_mempool, (void *)ev_tim);
- cancel_count++;
}
return TEST_SUCCESS;
--
2.38.1
More information about the dev
mailing list