Skip to content

Commit ce0756a

Browse files
Geliang Tangmatttbe
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]> Reviewed-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent 9d969b9 commit ce0756a

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
@@ -272,7 +272,7 @@ static int verify_mptcpify(int server_fd, int client_fd)
272272
return err;
273273
}
274274

275-
static int run_mptcpify(int cgroup_fd)
275+
static int run_mptcpify(void)
276276
{
277277
int server_fd, client_fd, err = 0;
278278
struct mptcpify *mptcpify_skel;
@@ -325,7 +325,7 @@ static void test_mptcpify(void)
325325
if (!ASSERT_OK_PTR(netns, "netns_new"))
326326
goto fail;
327327

328-
ASSERT_OK(run_mptcpify(cgroup_fd), "run_mptcpify");
328+
ASSERT_OK(run_mptcpify(), "run_mptcpify");
329329

330330
fail:
331331
netns_free(netns);

0 commit comments

Comments
 (0)