summaryrefslogtreecommitdiff
path: root/drivers/baseband/null/bbdev_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/baseband/null/bbdev_null.c')
-rw-r--r--drivers/baseband/null/bbdev_null.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/baseband/null/bbdev_null.c b/drivers/baseband/null/bbdev_null.c
index 76fc9d7..2f25151 100644
--- a/drivers/baseband/null/bbdev_null.c
+++ b/drivers/baseband/null/bbdev_null.c
@@ -348,9 +348,7 @@ RTE_PMD_REGISTER_PARAM_STRING(DRIVER_NAME,
BBDEV_NULL_SOCKET_ID_ARG"=<int>");
RTE_PMD_REGISTER_ALIAS(DRIVER_NAME, bbdev_null);
-RTE_INIT(null_bbdev_init_log);
-static void
-null_bbdev_init_log(void)
+RTE_INIT(null_bbdev_init_log)
{
bbdev_null_logtype = rte_log_register("pmd.bb.null");
if (bbdev_null_logtype >= 0)