summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2026-10-21 08:26:58 -0700
committerJakub Kicinski <kuba@kernel.org>2026-10-23 15:33:55 -0700
commit5536d5553f274c8baa77c44854c9091657213970 (patch)
treeb431d9a4f2303b8c3fb4bc7582ed66e09ca512f4 /tools/perf/scripts/python
parent73e7b4fbe879a949f0dc88eeb955370f5f41a053 (diff)
selftests/net: tcp_mmap: remove unused -k option and keepflag
Commit aacb0c2e524c ("selftests: net: tcp_mmap must use TCP_ZEROCOPY_RECEIVE") removed the only read of keepflag in child_thread(), leaving the file-scope keepflag variable set by the -k option in main() but never read. This triggers a Clang 23 warning: tcp_mmap.c:91:12: error: variable 'keepflag' set but not used [-Werror,-Wunused-but-set-global] Remove the unused keepflag variable and the dead -k getopt option. Fixes: aacb0c2e524c ("selftests: net: tcp_mmap must use TCP_ZEROCOPY_RECEIVE") Signed-off-by: Greg Thelen <gthelen@google.com> Reviewed-by: Eric Dumazet <edumazet@kernel.org> Link: https://patch.msgid.link/20261021152658.2618709-1-gthelen@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions