summaryrefslogtreecommitdiff
path: root/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mempool/dpaa2/dpaa2_hw_mempool.c')
-rw-r--r--drivers/mempool/dpaa2/dpaa2_hw_mempool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
index e12a0ec..7d0435f 100644
--- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
+++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
@@ -442,9 +442,7 @@ struct rte_mempool_ops dpaa2_mpool_ops = {
MEMPOOL_REGISTER_OPS(dpaa2_mpool_ops);
-RTE_INIT(dpaa2_mempool_init_log);
-static void
-dpaa2_mempool_init_log(void)
+RTE_INIT(dpaa2_mempool_init_log)
{
dpaa2_logtype_mempool = rte_log_register("mempool.dpaa2");
if (dpaa2_logtype_mempool >= 0)