]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: remove redundant argument from tcp_rcv_established()
authorMatvejchikov Ilya <matvejchikov@gmail.com>
Mon, 24 Jul 2017 12:02:12 +0000 (16:02 +0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 00:28:12 +0000 (17:28 -0700)
commitd11c9b3ae1e3291a4a57d3cc22f8da706a44bb97
tree4866ef0eed04cee3ae4522ffd5a4f61a3b3fef3a
parenta2aa7f4395a9ef2a73dd886ec80f34f6e45ab512
tcp: remove redundant argument from tcp_rcv_established()

The last (4th) argument of tcp_rcv_established() is redundant as it
always equals to skb->len and the skb itself is always passed as 2th
agrument. There is no reason to have it.

Signed-off-by: Ilya V. Matveychikov <matvejchikov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_probe.c
net/ipv6/tcp_ipv6.c