aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2024-05-23 14:49:58 +0800
committerDaniel Borkmann <[email protected]>2024-06-03 19:32:54 +0200
commita9f0ea175948c21640ae1cc145e679db7fc45fa6 (patch)
tree1a23bade9f9769cc349b28e3e7005f8cb455acad /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentd95ba15b97847f4ae520db83bd98b61d50fb3068 (diff)
selftests/bpf: Drop duplicate definition of i in test_sockmap
There's already a definition of i in run_options() at the beginning, no need to define a new one in "if (tx_prog_fd > 0)" block. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Jakub Sitnicki <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/8d690682330a59361562bca75d6903253d16f312.1716446893.git.tanggeliang@kylinos.cn
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions