]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/bpf: test_xdp_veth: Remove unused defines
authorBastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Fri, 31 Jan 2025 07:21:41 +0000 (08:21 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 3 Feb 2025 11:33:51 +0000 (03:33 -0800)
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>
tools/testing/selftests/bpf/prog_tests/test_xdp_veth.c

index 8d75424fe6bc8b2d4eeabe3ec49b883284c834e9..95e1791ea7e0f950609607b30d35f78da82e058b 100644 (file)
 #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;