Skip to content

Commit

Permalink
Squash-to: "mptcp: move sockopt function into a new file"
Browse files Browse the repository at this point in the history
Mat noted I left over an helper function in protocol.c.
Just drop it.

Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
  • Loading branch information
Paolo Abeni authored and matttbe committed Mar 9, 2021
1 parent 7c0df94 commit c42dc5a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions net/mptcp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,6 @@ static bool mptcp_is_tcpsk(struct sock *sk)
return false;
}

static struct sock *__mptcp_tcp_fallback(struct mptcp_sock *msk)
{
sock_owned_by_me((const struct sock *)msk);

if (likely(!__mptcp_check_fallback(msk)))
return NULL;

return msk->first;
}

static int __mptcp_socket_create(struct mptcp_sock *msk)
{
struct mptcp_subflow_context *subflow;
Expand Down

0 comments on commit c42dc5a

Please sign in to comment.