diff options
author | Hou Tao <houtao1@huawei.com> | 2024-11-06 14:35:41 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-11-11 08:18:35 -0800 |
commit | 503cfb103c8d6ca4f23a9abbf36672c9cfe6f745 (patch) | |
tree | 69a0dba6b26976a8f1af526833efd15d219283bb /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
parent | b9e9ed90b10c82a4e9d4d70a2890f06bfcdd3b78 (diff) | |
download | linux-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.tar.gz linux-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.tar.bz2 linux-503cfb103c8d6ca4f23a9abbf36672c9cfe6f745.zip |
selftests/bpf: Move ENOTSUPP from bpf_util.h
Moving the definition of ENOTSUPP into bpf_util.h to remove the
duplicated definitions in multiple files.
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20241106063542.357743-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
-rw-r--r-- | tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c b/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c index 409a06975823..b7d1b52309d0 100644 --- a/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c +++ b/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c @@ -16,10 +16,6 @@ #include "tcp_ca_kfunc.skel.h" #include "bpf_cc_cubic.skel.h" -#ifndef ENOTSUPP -#define ENOTSUPP 524 -#endif - static const unsigned int total_bytes = 10 * 1024 * 1024; static int expected_stg = 0xeB9F; |