OSDN Git Service

mptcp: drop unused sk in mptcp_get_options
authorGeliang Tang <geliang.tang@suse.com>
Wed, 16 Feb 2022 02:11:25 +0000 (18:11 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Feb 2022 04:52:04 +0000 (20:52 -0800)
commit0799e21b5a76d9f14d8a8f024d0b6b9847ad1a03
tree5f1a92f6de7085f1706b8a6debc8ba4a6d7b1405
parentf8e9ce4a6e85067d7d7cfa89167f5ce5f0ec2a8a
mptcp: drop unused sk in mptcp_get_options

The parameter 'sk' became useless since the code using it was dropped
from mptcp_get_options() in the commit 8d548ea1dd15 ("mptcp: do not set
unconditionally csum_reqd on incoming opt"). Let's drop it.

Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c
net/mptcp/protocol.h
net/mptcp/subflow.c