diff options
Diffstat (limited to 'lib/librte_bpf/bpf.c')
-rw-r--r-- | lib/librte_bpf/bpf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/librte_bpf/bpf.c b/lib/librte_bpf/bpf.c index dc6d1099..f590c8c3 100644 --- a/lib/librte_bpf/bpf.c +++ b/lib/librte_bpf/bpf.c @@ -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) |