selftests: bpf: Remove unused bpf_map_def_legacy struct
authorDaniel T. Lee <danieltimlee@gmail.com>
Tue, 7 Jul 2020 18:48:55 +0000 (03:48 +0900)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 7 Jul 2020 23:33:14 +0000 (01:33 +0200)
commit5cfd607b49db2b7c05fccc2915a528d97bc8f17d
tree400680800568d14155e649fea0b5c3dc4435fd7d
parentcc7f641d637bef0b31194d28667553f77c4ef947
selftests: bpf: Remove unused bpf_map_def_legacy struct

samples/bpf no longer use bpf_map_def_legacy and instead use the
libbpf's bpf_map_def or new BTF-defined MAP format. This commit removes
unused bpf_map_def_legacy struct from selftests/bpf/bpf_legacy.h.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200707184855.30968-5-danieltimlee@gmail.com
tools/testing/selftests/bpf/bpf_legacy.h