From: Yue Haibing Date: Fri, 16 Aug 2024 10:04:04 +0000 (+0800) Subject: mptcp: Remove unused declaration mptcp_sockopt_sync() X-Git-Tag: v6.12-rc1~232^2~228 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af3dc0ad3167985894a292968c67502f42854e6d;p=thirdparty%2Fkernel%2Flinux.git mptcp: Remove unused declaration mptcp_sockopt_sync() Commit a1ab24e5fc4a ("mptcp: consolidate sockopt synchronization") removed the implementation but leave declaration. Signed-off-by: Yue Haibing Reviewed-by: Matthieu Baerts (NGI0) Reviewed-by: Simon Horman Link: https://patch.msgid.link/20240816100404.879598-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski --- diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 60c6b073d65fe..08387140a646a 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -1154,7 +1154,6 @@ static inline void mptcp_pm_close_subflow(struct mptcp_sock *msk) spin_unlock_bh(&msk->pm.lock); } -void mptcp_sockopt_sync(struct mptcp_sock *msk, struct sock *ssk); void mptcp_sockopt_sync_locked(struct mptcp_sock *msk, struct sock *ssk); static inline struct mptcp_ext *mptcp_get_ext(const struct sk_buff *skb)