summaryrefslogtreecommitdiff
path: root/lib/librte_eventdev/rte_event_timer_adapter.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_eventdev/rte_event_timer_adapter.c')
-rw-r--r--lib/librte_eventdev/rte_event_timer_adapter.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/librte_eventdev/rte_event_timer_adapter.c b/lib/librte_eventdev/rte_event_timer_adapter.c
index 6f1d672..79070d4 100644
--- a/lib/librte_eventdev/rte_event_timer_adapter.c
+++ b/lib/librte_eventdev/rte_event_timer_adapter.c
@@ -1282,9 +1282,7 @@ static const struct rte_event_timer_adapter_ops sw_event_adapter_timer_ops = {
.cancel_burst = sw_event_timer_cancel_burst,
};
-RTE_INIT(event_timer_adapter_init_log);
-static void
-event_timer_adapter_init_log(void)
+RTE_INIT(event_timer_adapter_init_log)
{
evtim_logtype = rte_log_register("lib.eventdev.adapter.timer");
if (evtim_logtype >= 0)