From: Paolo Abeni Date: Tue, 22 Jun 2021 00:33:09 +0000 (-0700) Subject: mptcp: drop duplicate mptcp_setsockopt() declaration X-Git-Tag: accepted/tizen/unified/20230118.172025~6675^2^2~22^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=597dbae77ee5a2347b1b800c25c89a9181dd8a57;p=platform%2Fkernel%2Flinux-rpi.git mptcp: drop duplicate mptcp_setsockopt() declaration commit 7896248983ef ("mptcp: add skeleton to sync msk socket options to subflows") introduced a duplicate declaration of mptcp_setsockopt(), just drop it. Reported-by: Florian Westphal Fixes: 7896248983ef ("mptcp: add skeleton to sync msk socket options to subflows") Signed-off-by: Paolo Abeni Signed-off-by: Mat Martineau Signed-off-by: David S. Miller --- diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 7b63456..78ac289 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -762,9 +762,6 @@ unsigned int mptcp_pm_get_add_addr_accept_max(struct mptcp_sock *msk); unsigned int mptcp_pm_get_subflows_max(struct mptcp_sock *msk); unsigned int mptcp_pm_get_local_addr_max(struct mptcp_sock *msk); -int mptcp_setsockopt(struct sock *sk, int level, int optname, - sockptr_t optval, unsigned int optlen); - void mptcp_sockopt_sync(struct mptcp_sock *msk, struct sock *ssk); void mptcp_sockopt_sync_all(struct mptcp_sock *msk);