libbpf: remove internal multi-instance prog support
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 27 Jun 2022 21:15:23 +0000 (14:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 28 Jun 2022 20:13:33 +0000 (13:13 -0700)
commitcf90a20db878fddedefbdfeaff6695a0ee20f690
tree60bfff4ba5a75e084314f3009577eb9cabc428da
parenta11113a2dcbedd488ca82f46853cf3e1ee486a6e
libbpf: remove internal multi-instance prog support

Clean up internals that had to deal with the possibility of
multi-instance bpf_programs. Libbpf 1.0 doesn't support this, so all
this is not necessary now and can be simplified.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220627211527.2245459-12-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c