summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2020-05-29 00:01:52 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-29 17:31:10 -0700
commitbc183dec08f9cb177cf5206a010b7a9e7b22e567 (patch)
tree046ef60111d565119011a9181b7c493fc0bf4fc8 /include/net
parentfd55199d3b762f9555c66a1bc4bf6eac3901fc2f (diff)
downloadlinux-bc183dec08f9cb177cf5206a010b7a9e7b22e567.tar.bz2
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 66e4b8331850..bca761ffa25f 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -662,7 +662,6 @@ void tcp_initialize_rcv_mss(struct sock *sk);
int tcp_mtu_to_mss(struct sock *sk, int pmtu);
int tcp_mss_to_mtu(struct sock *sk, int mss);
void tcp_mtup_init(struct sock *sk);
-void tcp_init_buffer_space(struct sock *sk);
static inline void tcp_bound_rto(const struct sock *sk)
{