summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-07-18 09:22:29 +0300
committerAndrii Nakryiko <andrii@kernel.org>2024-07-29 22:52:24 +0300
commita63507f3b11de30fd7711ec244fe354fb4a01a09 (patch)
treea23b7388669035267777cf0d6127ff2c7a92965a /kernel/bpf/arraymap.c
parent1722389b0d863056d78287a120a1d6cadb8d4f7b (diff)
downloadlinux-a63507f3b11de30fd7711ec244fe354fb4a01a09.tar.xz
selftests/bpf: Drop type of connect_to_fd_opts
The "type" parameter of connect_to_fd_opts() is redundant of "server_fd". Since the "type" can be obtained inside by invoking getsockopt(SO_TYPE), without passing it in as a parameter. This patch drops the "type" parameter of connect_to_fd_opts() and updates its callers. Suggested-by: Martin KaFai Lau <martin.lau@kernel.org> Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Link: https://lore.kernel.org/r/50d8ce7ab7ab0c0f4d211fc7cc4ebe3d3f63424c.1721282219.git.tanggeliang@kylinos.cn Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions