All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selftests/bpf: remove unused duration variable from cgroup_attach_multi
@ 2026-10-15 17:50 pdsj2807
  2026-10-15 17:54 ` sashiko-bot
  2026-10-16 13:34 ` Daniel Borkmann
  0 siblings, 2 replies; 3+ messages in thread
From: pdsj2807 @ 2026-10-15 17:50 UTC (permalink / raw)
  To: andrii, eddyz87
  Cc: ast, daniel, memxor, bpf, linux-kselftest, linux-kernel,
	Palak Raval

From: Palak Raval <pdsj2807@gmail.com>

The duration variable is not referenced anywhere in the file.

Remove the unused variable.

Signed-off-by: Palak Raval <pdsj2807@gmail.com>
---
 tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c b/tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
index db0b7bac78d1..9037e98f6f76 100644
--- a/tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
+++ b/tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c
@@ -81,7 +81,6 @@ void serial_test_cgroup_attach_multi(void)
 	DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts);
 	int allow_prog[7] = {-1};
 	unsigned long long value;
-	__u32 duration = 0;
 	int i = 0;
 
 	for (i = 0; i < ARRAY_SIZE(allow_prog); i++) {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-16 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 17:50 [PATCH] selftests/bpf: remove unused duration variable from cgroup_attach_multi pdsj2807
2026-10-15 17:54 ` sashiko-bot
2026-10-16 13:34 ` Daniel Borkmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.