]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b4a02564bf9e794a229213a9b4fa367441b0683
tree6bb09c946b5720e84789c281caa47722e2d3bd6a
parent69d37e5b4a775a309c8d1101f11bafc08cafd5a5
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 6a5f89b860c0 ("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