aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-12-01 23:28:19 +0000
committerAlexei Starovoitov <[email protected]>2021-12-02 23:23:40 +0000
commit045b233a29a2ea3a168296f000cd5b1c08c4a2f7 (patch)
tree21169544310c58021745a9fffffe23c10fbb8ff0 /tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
parentbpftool: Migrate off of deprecated bpf_create_map_xattr() API (diff)
downloadkernel-045b233a29a2ea3a168296f000cd5b1c08c4a2f7.tar.gz
kernel-045b233a29a2ea3a168296f000cd5b1c08c4a2f7.zip
selftests/bpf: Remove recently reintroduced legacy btf__dedup() use
We've added one extra patch that added back the use of legacy btf__dedup() variant. Clean that up. Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c b/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
index 94ff9757557a..878a864dae3b 100644
--- a/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
+++ b/tools/testing/selftests/bpf/prog_tests/btf_dedup_split.c
@@ -364,7 +364,7 @@ static void test_split_dup_struct_in_cu()
"\t'f2' type_id=1 bits_offset=32");
/* ..dedup them... */
- err = btf__dedup(btf1, NULL, NULL);
+ err = btf__dedup(btf1, NULL);
if (!ASSERT_OK(err, "btf_dedup"))
goto cleanup;
@@ -405,7 +405,7 @@ static void test_split_dup_struct_in_cu()
"\t'f1' type_id=4 bits_offset=0\n"
"\t'f2' type_id=4 bits_offset=32");
- err = btf__dedup(btf2, NULL, NULL);
+ err = btf__dedup(btf2, NULL);
if (!ASSERT_OK(err, "btf_dedup"))
goto cleanup;