summaryrefslogtreecommitdiff
path: root/drivers/common/qat/qat_logs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/common/qat/qat_logs.c')
-rw-r--r--drivers/common/qat/qat_logs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/common/qat/qat_logs.c b/drivers/common/qat/qat_logs.c
index fa3df85..7a86170 100644
--- a/drivers/common/qat/qat_logs.c
+++ b/drivers/common/qat/qat_logs.c
@@ -24,9 +24,7 @@ qat_hexdump_log(uint32_t level, uint32_t logtype, const char *title,
return 0;
}
-RTE_INIT(qat_pci_init_log);
-static void
-qat_pci_init_log(void)
+RTE_INIT(qat_pci_init_log)
{
/* Non-data-path logging for pci device and all services */
qat_gen_logtype = rte_log_register("pmd.qat_general");