[dpdk-dev] [PATCH v7 09/17] test/ring: removed unused variable synchro
Honnappa Nagarahalli
honnappa.nagarahalli at arm.com
Fri Dec 20 05:45:16 CET 2019
Remove unused variable synchro
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
Reviewed-by: Gavin Hu <gavin.hu at arm.com>
---
app/test/test_ring.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/app/test/test_ring.c b/app/test/test_ring.c
index a082f0137..57fbd897c 100644
--- a/app/test/test_ring.c
+++ b/app/test/test_ring.c
@@ -57,8 +57,6 @@
#define RING_SIZE 4096
#define MAX_BULK 32
-static rte_atomic32_t synchro;
-
#define TEST_RING_VERIFY(exp) \
if (!(exp)) { \
printf("error at %s:%d\tcondition " #exp " failed\n", \
@@ -665,8 +663,6 @@ test_ring(void)
if (test_ring_basic_ex() < 0)
goto test_fail;
- rte_atomic32_init(&synchro);
-
/* Burst and bulk operations with sp/sc, mp/mc and default */
for (j = TEST_RING_BL; j <= TEST_RING_BR; j <<= 1)
for (i = TEST_RING_N; i <= TEST_RING_M; i <<= 1)
--
2.17.1
More information about the dev
mailing list