2020-07-15 02:39:35

by Yue Haibing

[permalink] [raw]
Subject: [PATCH net-next] mptcp: Remove unused inline function mptcp_rcv_synsent()

commit 263e1201a2c3 ("mptcp: consolidate synack processing.")
left behind this, remove it.

Signed-off-by: YueHaibing <[email protected]>
---
include/net/mptcp.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/include/net/mptcp.h b/include/net/mptcp.h
index 46d0487d2b22..02158c257bd4 100644
--- a/include/net/mptcp.h
+++ b/include/net/mptcp.h
@@ -164,10 +164,6 @@ static inline bool mptcp_syn_options(struct sock *sk, const struct sk_buff *skb,
return false;
}

-static inline void mptcp_rcv_synsent(struct sock *sk)
-{
-}
-
static inline bool mptcp_synack_options(const struct request_sock *req,
unsigned int *size,
struct mptcp_out_options *opts)
--
2.17.1



2020-07-15 13:38:23

by Paolo Abeni

[permalink] [raw]
Subject: Re: [PATCH net-next] mptcp: Remove unused inline function mptcp_rcv_synsent()

On Wed, 2020-07-15 at 10:36 +0800, YueHaibing wrote:
> commit 263e1201a2c3 ("mptcp: consolidate synack processing.")
> left behind this, remove it.
>
> Signed-off-by: YueHaibing <[email protected]>

Acked-by: Paolo Abeni <[email protected]>

Thank you for the clean-up!

/P

2020-07-15 15:11:01

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net-next] mptcp: Remove unused inline function mptcp_rcv_synsent()

From: YueHaibing <[email protected]>
Date: Wed, 15 Jul 2020 10:36:13 +0800

> commit 263e1201a2c3 ("mptcp: consolidate synack processing.")
> left behind this, remove it.
>
> Signed-off-by: YueHaibing <[email protected]>

Applied.