]> 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)
commit41c179bfc17be6f412f57848d4ff3be327b44056
tree4866ef0eed04cee3ae4522ffd5a4f61a3b3fef3a
parentc73e480708d6027b2c8f2076e267aa252ab5fd1a
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