Skip to content

Commit 07ce1ab

Browse files
Geliang Tangintel-lab-lkp
authored andcommitted
selftests/bpf: Drop cgroup_fd of run_mptcpify
The parameter 'cgroup_fd' of run_mptcpify() is useless, drop it. Signed-off-by: Geliang Tang <[email protected]>
1 parent 2358d68 commit 07ce1ab

File tree

1 file changed

+2
-2
lines changed
  • tools/testing/selftests/bpf/prog_tests

1 file changed

+2
-2
lines changed

tools/testing/selftests/bpf/prog_tests/mptcp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static int verify_mptcpify(int server_fd, int client_fd)
283283
return err;
284284
}
285285

286-
static int run_mptcpify(int cgroup_fd)
286+
static int run_mptcpify(void)
287287
{
288288
int server_fd, client_fd, err = 0;
289289
struct mptcpify *mptcpify_skel;
@@ -336,7 +336,7 @@ static void test_mptcpify(void)
336336
if (!ASSERT_OK_PTR(netns, "netns_new"))
337337
goto fail;
338338

339-
ASSERT_OK(run_mptcpify(cgroup_fd), "run_mptcpify");
339+
ASSERT_OK(run_mptcpify(), "run_mptcpify");
340340

341341
fail:
342342
netns_free(netns);

0 commit comments

Comments
 (0)