summaryrefslogtreecommitdiffstats
path: root/net/mptcp/protocol.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2024-08-16 12:04:04 +0200
committerJakub Kicinski <kuba@kernel.org>2024-08-20 02:49:00 +0200
commitaf3dc0ad3167985894a292968c67502f42854e6d (patch)
tree5813174c6e61d00c2949c58e11671b7e8d9361cc /net/mptcp/protocol.h
parentnet/mlx5: E-Switch, Remove unused declarations (diff)
downloadlinux-af3dc0ad3167985894a292968c67502f42854e6d.tar.xz
linux-af3dc0ad3167985894a292968c67502f42854e6d.zip
mptcp: Remove unused declaration mptcp_sockopt_sync()
Commit a1ab24e5fc4a ("mptcp: consolidate sockopt synchronization") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20240816100404.879598-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/protocol.h')
-rw-r--r--net/mptcp/protocol.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index 60c6b073d65f..08387140a646 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)