summaryrefslogtreecommitdiff
path: root/drivers/net/ring/rte_eth_ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ring/rte_eth_ring.c')
-rw-r--r--drivers/net/ring/rte_eth_ring.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index 5aa48da..791deb0 100644
--- a/drivers/net/ring/rte_eth_ring.c
+++ b/drivers/net/ring/rte_eth_ring.c
@@ -685,9 +685,7 @@ RTE_PMD_REGISTER_ALIAS(net_ring, eth_ring);
RTE_PMD_REGISTER_PARAM_STRING(net_ring,
ETH_RING_NUMA_NODE_ACTION_ARG "=name:node:action(ATTACH|CREATE)");
-RTE_INIT(eth_ring_init_log);
-static void
-eth_ring_init_log(void)
+RTE_INIT(eth_ring_init_log)
{
eth_ring_logtype = rte_log_register("pmd.net.ring");
if (eth_ring_logtype >= 0)