summaryrefslogtreecommitdiff
path: root/lib/librte_compressdev/rte_compressdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_compressdev/rte_compressdev.c')
-rw-r--r--lib/librte_compressdev/rte_compressdev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/librte_compressdev/rte_compressdev.c b/lib/librte_compressdev/rte_compressdev.c
index 6a38917..9091dd6 100644
--- a/lib/librte_compressdev/rte_compressdev.c
+++ b/lib/librte_compressdev/rte_compressdev.c
@@ -764,10 +764,7 @@ rte_compressdev_name_get(uint8_t dev_id)
return dev->data->name;
}
-RTE_INIT(rte_compressdev_log);
-
-static void
-rte_compressdev_log(void)
+RTE_INIT(rte_compressdev_log)
{
compressdev_logtype = rte_log_register("lib.compressdev");
if (compressdev_logtype >= 0)