aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>2025-01-31 08:21:41 +0100
committerAlexei Starovoitov <ast@kernel.org>2025-02-03 03:33:51 -0800
commit6d34f5b728eb28e4f5acb00dc147507fea2e510c (patch)
treeef7ce0822c399b42f9da784bb05018aaa9b5b1b9 /tools/testing/selftests/bpf/prog_tests
parentselftests/bpf: helpers: Add append_tid() (diff)
downloadlinux-6d34f5b728eb28e4f5acb00dc147507fea2e510c.tar.gz
linux-6d34f5b728eb28e4f5acb00dc147507fea2e510c.zip
selftests/bpf: test_xdp_veth: Remove unused defines
IP_CMD_MAX_LEN and NS_SUFFIX_LEN aren't used anywhere. Remove these unused defines Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com> Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://patch.msgid.link/20250131-redirect-multi-v4-2-970b33678512@bootlin.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c b/tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c
index 8d75424fe6bc..95e1791ea7e0 100644
--- a/tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c
+++ b/tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c
@@ -25,11 +25,9 @@
#include "xdp_tx.skel.h"
#define VETH_PAIRS_COUNT 3
-#define NS_SUFFIX_LEN 6
#define VETH_NAME_MAX_LEN 16
#define IP_SRC "10.1.1.11"
#define IP_DST "10.1.1.33"
-#define IP_CMD_MAX_LEN 128
struct skeletons {
struct xdp_dummy *xdp_dummy;