OSDN Git Service

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)
commitbc183dec08f9cb177cf5206a010b7a9e7b22e567
tree046ef60111d565119011a9181b7c493fc0bf4fc8
parentfd55199d3b762f9555c66a1bc4bf6eac3901fc2f
tcp: tcp_init_buffer_space can be static

As of commit 98fa6271cfcb
("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