summaryrefslogtreecommitdiff
path: root/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c')
-rw-r--r--drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
index 095a34b..469960a 100644
--- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
+++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
@@ -289,10 +289,7 @@ static struct rte_vdev_driver dpaa2_cmdif_drv = {
RTE_PMD_REGISTER_VDEV(DPAA2_CMDIF_PMD_NAME, dpaa2_cmdif_drv);
-RTE_INIT(dpaa2_cmdif_init_log);
-
-static void
-dpaa2_cmdif_init_log(void)
+RTE_INIT(dpaa2_cmdif_init_log)
{
dpaa2_cmdif_logtype = rte_log_register("pmd.raw.dpaa2.cmdif");
if (dpaa2_cmdif_logtype >= 0)