summaryrefslogtreecommitdiff
path: root/drivers/net/af_packet/rte_eth_af_packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/af_packet/rte_eth_af_packet.c')
-rw-r--r--drivers/net/af_packet/rte_eth_af_packet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c
index 8cfb7ad..ce1e31a 100644
--- a/drivers/net/af_packet/rte_eth_af_packet.c
+++ b/drivers/net/af_packet/rte_eth_af_packet.c
@@ -1016,9 +1016,7 @@ RTE_PMD_REGISTER_PARAM_STRING(net_af_packet,
"framecnt=<int> "
"qdisc_bypass=<0|1>");
-RTE_INIT(af_packet_init_log);
-static void
-af_packet_init_log(void)
+RTE_INIT(af_packet_init_log)
{
af_packet_logtype = rte_log_register("pmd.net.packet");
if (af_packet_logtype >= 0)