summaryrefslogtreecommitdiff
path: root/lib/librte_bbdev/rte_bbdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_bbdev/rte_bbdev.c')
-rw-r--r--lib/librte_bbdev/rte_bbdev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/librte_bbdev/rte_bbdev.c b/lib/librte_bbdev/rte_bbdev.c
index 28434e0..c4cc18d 100644
--- a/lib/librte_bbdev/rte_bbdev.c
+++ b/lib/librte_bbdev/rte_bbdev.c
@@ -1125,9 +1125,7 @@ rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type)
return NULL;
}
-RTE_INIT(rte_bbdev_init_log);
-static void
-rte_bbdev_init_log(void)
+RTE_INIT(rte_bbdev_init_log)
{
bbdev_logtype = rte_log_register("lib.bbdev");
if (bbdev_logtype >= 0)