Skip to content

Commit 4fa28fe

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 eddd260 commit 4fa28fe

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
@@ -268,7 +268,7 @@ static int verify_mptcpify(int server_fd, int client_fd)
268268
return err;
269269
}
270270

271-
static int run_mptcpify(int cgroup_fd)
271+
static int run_mptcpify(void)
272272
{
273273
int server_fd, client_fd, err = 0;
274274
struct mptcpify *mptcpify_skel;
@@ -321,7 +321,7 @@ static void test_mptcpify(void)
321321
if (!ASSERT_OK_PTR(netns, "netns_new"))
322322
goto fail;
323323

324-
ASSERT_OK(run_mptcpify(cgroup_fd), "run_mptcpify");
324+
ASSERT_OK(run_mptcpify(), "run_mptcpify");
325325

326326
fail:
327327
netns_free(netns);

0 commit comments

Comments
 (0)