summaryrefslogtreecommitdiffstats
path: root/lib/librte_member
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_member')
-rw-r--r--lib/librte_member/rte_member.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/librte_member/rte_member.c b/lib/librte_member/rte_member.c
index e147dd1f..702c01d3 100644
--- a/lib/librte_member/rte_member.c
+++ b/lib/librte_member/rte_member.c
@@ -297,10 +297,7 @@ rte_member_reset(const struct rte_member_setsum *setsum)
}
}
-RTE_INIT(librte_member_init_log);
-
-static void
-librte_member_init_log(void)
+RTE_INIT(librte_member_init_log)
{
librte_member_logtype = rte_log_register("lib.member");
if (librte_member_logtype >= 0)