summaryrefslogtreecommitdiff
path: root/lib/librte_member/rte_member.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_member/rte_member.c')
-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 e147dd1..702c01d 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)