summaryrefslogtreecommitdiff
path: root/lib/librte_flow_classify/rte_flow_classify.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_flow_classify/rte_flow_classify.c')
-rw-r--r--lib/librte_flow_classify/rte_flow_classify.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/librte_flow_classify/rte_flow_classify.c b/lib/librte_flow_classify/rte_flow_classify.c
index 591d98e..4c3469d 100644
--- a/lib/librte_flow_classify/rte_flow_classify.c
+++ b/lib/librte_flow_classify/rte_flow_classify.c
@@ -673,10 +673,7 @@ rte_flow_classifier_query(struct rte_flow_classifier *cls,
return ret;
}
-RTE_INIT(librte_flow_classify_init_log);
-
-static void
-librte_flow_classify_init_log(void)
+RTE_INIT(librte_flow_classify_init_log)
{
librte_flow_classify_logtype =
rte_log_register("lib.flow_classify");