summaryrefslogtreecommitdiff
path: root/drivers/common/octeontx/octeontx_mbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/common/octeontx/octeontx_mbox.c')
-rw-r--r--drivers/common/octeontx/octeontx_mbox.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/common/octeontx/octeontx_mbox.c b/drivers/common/octeontx/octeontx_mbox.c
index 93e6e85..880f8a4 100644
--- a/drivers/common/octeontx/octeontx_mbox.c
+++ b/drivers/common/octeontx/octeontx_mbox.c
@@ -61,9 +61,7 @@ struct mbox_ram_hdr {
int octeontx_logtype_mbox;
-RTE_INIT(otx_init_log);
-static void
-otx_init_log(void)
+RTE_INIT(otx_init_log)
{
octeontx_logtype_mbox = rte_log_register("pmd.octeontx.mbox");
if (octeontx_logtype_mbox >= 0)