app/testpmd: fix flow transfer proxy port handling
[dpdk.git] / lib / bpf / bpf_load.c
index 2a3b901..272f2ba 100644 (file)
@@ -130,21 +130,3 @@ rte_bpf_load(const struct rte_bpf_prm *prm)
 
        return bpf;
 }
-
-#ifndef RTE_LIBRTE_BPF_ELF
-struct rte_bpf *
-rte_bpf_elf_load(const struct rte_bpf_prm *prm, const char *fname,
-       const char *sname)
-{
-       if (prm == NULL || fname == NULL || sname == NULL) {
-               rte_errno = EINVAL;
-               return NULL;
-       }
-
-       RTE_BPF_LOG(ERR, "%s() is not supported with current config\n"
-               "rebuild with libelf installed\n",
-               __func__);
-       rte_errno = ENOTSUP;
-       return NULL;
-}
-#endif