mptcp: drop unneeded checks
authorPaolo Abeni <pabeni@redhat.com>
Fri, 13 Mar 2020 15:52:42 +0000 (16:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Mar 2020 07:19:03 +0000 (00:19 -0700)
commitdc093db5cc052b7879807a1d2906ed2f54bf386c
tree6bb09c946b5720e84789c281caa47722e2d3bd6a
parent58b09919626bf9067345289212ec030c61eb1034
mptcp: drop unneeded checks

After the previous patch subflow->conn is always != NULL and
is never changed. We can drop a bunch of now unneeded checks.

v1 -> v2:
 - rebased on top of commit 2398e3991bda ("mptcp: always
   include dack if possible.")

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/options.c
net/mptcp/subflow.c