summaryrefslogtreecommitdiff
path: root/drivers/raw/skeleton_rawdev/skeleton_rawdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/raw/skeleton_rawdev/skeleton_rawdev.c')
-rw-r--r--drivers/raw/skeleton_rawdev/skeleton_rawdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c
index 6bdbbb5..d1489f8 100644
--- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c
+++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c
@@ -744,10 +744,7 @@ static struct rte_vdev_driver skeleton_pmd_drv = {
RTE_PMD_REGISTER_VDEV(SKELETON_PMD_RAWDEV_NAME, skeleton_pmd_drv);
-RTE_INIT(skeleton_pmd_init_log);
-
-static void
-skeleton_pmd_init_log(void)
+RTE_INIT(skeleton_pmd_init_log)
{
skeleton_pmd_logtype = rte_log_register("rawdev.skeleton");
if (skeleton_pmd_logtype >= 0)