remove unused ring includes
[dpdk.git] / app / test / test_mempool.c
index 46ad670..fffbf8d 100644 (file)
@@ -52,7 +52,6 @@
 #include <rte_lcore.h>
 #include <rte_atomic.h>
 #include <rte_branch_prediction.h>
-#include <rte_ring.h>
 #include <rte_mempool.h>
 #include <rte_spinlock.h>
 #include <rte_malloc.h>
@@ -506,7 +505,6 @@ test_mempool(void)
 {
        struct rte_mempool *mp_cache = NULL;
        struct rte_mempool *mp_nocache = NULL;
-       struct rte_mempool *mp_ext = NULL;
        struct rte_mempool *mp_stack = NULL;
 
        rte_atomic32_init(&synchro);
@@ -605,7 +603,7 @@ test_mempool(void)
 err:
        rte_mempool_free(mp_nocache);
        rte_mempool_free(mp_cache);
-       rte_mempool_free(mp_ext);
+       rte_mempool_free(mp_stack);
        return -1;
 }