summaryrefslogtreecommitdiff
path: root/lib/librte_rawdev/rte_rawdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_rawdev/rte_rawdev.c')
-rw-r--r--lib/librte_rawdev/rte_rawdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/librte_rawdev/rte_rawdev.c b/lib/librte_rawdev/rte_rawdev.c
index 284e6ae..81da446 100644
--- a/lib/librte_rawdev/rte_rawdev.c
+++ b/lib/librte_rawdev/rte_rawdev.c
@@ -532,10 +532,7 @@ rte_rawdev_pmd_release(struct rte_rawdev *rawdev)
return 0;
}
-RTE_INIT(librawdev_init_log);
-
-static void
-librawdev_init_log(void)
+RTE_INIT(librawdev_init_log)
{
librawdev_logtype = rte_log_register("lib.rawdev");
if (librawdev_logtype >= 0)