]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mempool/rte_dom0_mempool.c
ixgbe/base: i2c combined functions
[dpdk.git] / lib / librte_mempool / rte_dom0_mempool.c
index 8152b01cc8c88d57dfcd09b902112e80a5b0cc5f..8900171d7103e2b397c7914d46f1eb2d49bfd3d1 100644 (file)
@@ -47,7 +47,6 @@
 #include <rte_memzone.h>
 #include <rte_atomic.h>
 #include <rte_launch.h>
-#include <rte_tailq.h>
 #include <rte_eal.h>
 #include <rte_eal_memconfig.h>
 #include <rte_per_lcore.h>
@@ -111,7 +110,7 @@ rte_dom0_mempool_create(const char *name, unsigned elt_num, unsigned elt_size,
        if (pa == NULL)
                return mp;
 
-       rte_snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_OBJ_NAME, name);
+       snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_OBJ_NAME, name);
        mz = rte_memzone_reserve(mz_name, sz, socket_id, mz_flags);
        if (mz == NULL) {
                free(pa);