]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: tcp_init_buffer_space can be static
authorFlorian Westphal <fw@strlen.de>
Thu, 28 May 2020 22:01:52 +0000 (00:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 May 2020 00:31:10 +0000 (17:31 -0700)
commit2ad86263695088d41d02467d94e4705a2132e260
tree046ef60111d565119011a9181b7c493fc0bf4fc8
parentf97013ce28c26f8a5841830984fa4d004214fc5d
tcp: tcp_init_buffer_space can be static

As of commit df38258ab4c6
("tcp: refactor setting the initial congestion window") this is called
only from tcp_input.c, so it can be static.

Signed-off-by: Florian Westphal <fw@strlen.de>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c