diff options
author | Geliang Tang <geliang.tang@suse.com> | 2023-10-25 16:37:05 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-27 08:47:30 -0700 |
commit | 74cbb0c65b2963c1f1b51e2426cf0774ed828bc0 (patch) | |
tree | aebf8fcf0c5523826e565a36bf04a395df3584b3 /net/mptcp/pm.c | |
parent | 84c531f54ad9a124a924c9505d74e33d16965146 (diff) | |
download | lwn-74cbb0c65b2963c1f1b51e2426cf0774ed828bc0.tar.gz lwn-74cbb0c65b2963c1f1b51e2426cf0774ed828bc0.zip |
mptcp: drop useless ssk in pm_subflow_check_next
The code using 'ssk' parameter of mptcp_pm_subflow_check_next() has been
dropped in commit "95d686517884 (mptcp: fix subflow accounting on close)".
So drop this useless parameter ssk.
Reviewed-by: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20231025-send-net-next-20231025-v1-4-db8f25f798eb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/pm.c')
-rw-r--r-- | net/mptcp/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index d8da5374d9e1..4ae19113b8eb 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -184,7 +184,7 @@ void mptcp_pm_subflow_established(struct mptcp_sock *msk) spin_unlock_bh(&pm->lock); } -void mptcp_pm_subflow_check_next(struct mptcp_sock *msk, const struct sock *ssk, +void mptcp_pm_subflow_check_next(struct mptcp_sock *msk, const struct mptcp_subflow_context *subflow) { struct mptcp_pm_data *pm = &msk->pm; |