Message ID | 20191220044524.32910-10-honnappa.nagarahalli@arm.com |
---|---|
State | New |
Headers | show |
Series | lib/ring: APIs to support custom element size | expand |
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)