aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mptcp.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-09-25 01:23:02 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-24 20:17:01 -0700
commit77d0cab93909edf1e5740643d788ac2e458b8187 (patch)
tree452fe2ebac0b3c96e4d054de1fadc31a419d1587 /include/net/mptcp.h
parentMerge branch 'mptcp-RM_ADDR-ADD_ADDR-enhancements' (diff)
downloadlinux-dev-77d0cab93909edf1e5740643d788ac2e458b8187.tar.xz
linux-dev-77d0cab93909edf1e5740643d788ac2e458b8187.zip
net: tcp: drop unused function argument from mptcp_incoming_options
Since commit cfde141ea3faa30e ("mptcp: move option parsing into mptcp_incoming_options()"), the 3rd function argument is no longer used. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mptcp.h')
-rw-r--r--include/net/mptcp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/net/mptcp.h b/include/net/mptcp.h
index 3525d2822abe..753ba7e755d6 100644
--- a/include/net/mptcp.h
+++ b/include/net/mptcp.h
@@ -85,8 +85,7 @@ bool mptcp_synack_options(const struct request_sock *req, unsigned int *size,
bool mptcp_established_options(struct sock *sk, struct sk_buff *skb,
unsigned int *size, unsigned int remaining,
struct mptcp_out_options *opts);
-void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb,
- struct tcp_options_received *opt_rx);
+void mptcp_incoming_options(struct sock *sk, struct sk_buff *skb);
void mptcp_write_options(__be32 *ptr, struct mptcp_out_options *opts);
@@ -185,8 +184,7 @@ static inline bool mptcp_established_options(struct sock *sk,
}
static inline void mptcp_incoming_options(struct sock *sk,
- struct sk_buff *skb,
- struct tcp_options_received *opt_rx)
+ struct sk_buff *skb)
{
}