From: Joyce Kong Date: Tue, 20 Jul 2021 03:51:22 +0000 (-0500) Subject: test/mempool: remove unused variable for lcores sync X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eb9ea11c9767dfcf8f6fcdcf49e970603d9d2a3b;p=dpdk.git test/mempool: remove unused variable for lcores sync Remove the unused synchro variable as there is no lcores sync in mempool function test. Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang Acked-by: Stephen Hemminger --- diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 3adadd6731..7675a3e605 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include @@ -57,8 +56,6 @@ goto label; \ } while (0) -static rte_atomic32_t synchro; - /* * save the object number in the first 4 bytes of object data. All * other bytes are set to 0. @@ -491,8 +488,6 @@ test_mempool(void) }; const char *default_pool_ops = rte_mbuf_best_mempool_ops(); - rte_atomic32_init(&synchro); - /* create a mempool (without cache) */ mp_nocache = rte_mempool_create("test_nocache", MEMPOOL_SIZE, MEMPOOL_ELT_SIZE, 0, 0,