mbuf: add function to generate raw Tx offload value
[dpdk.git] / lib / librte_bpf / bpf.c
index dc6d109..f590c8c 100644 (file)
@@ -53,10 +53,7 @@ bpf_jit(struct rte_bpf *bpf)
        return rc;
 }
 
-RTE_INIT(rte_bpf_init_log);
-
-static void
-rte_bpf_init_log(void)
+RTE_INIT(rte_bpf_init_log)
 {
        rte_bpf_logtype = rte_log_register("lib.bpf");
        if (rte_bpf_logtype >= 0)