tcp: tcp_rack_reo_wnd() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 18 May 2018 05:14:23 +0000 (13:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 May 2018 17:28:40 +0000 (13:28 -0400)
Fixes: 20b654dfe1be ("tcp: support DUPACK threshold in RACK")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_recovery.c

index 30cbfb69b1dea09ff40ff5a731ed0a429daa6c00..71593e4400abe344969ed2a6d0f3461e6f8e9bb2 100644 (file)
@@ -21,7 +21,7 @@ static bool tcp_rack_sent_after(u64 t1, u64 t2, u32 seq1, u32 seq2)
        return t1 > t2 || (t1 == t2 && after(seq1, seq2));
 }
 
-u32 tcp_rack_reo_wnd(const struct sock *sk)
+static u32 tcp_rack_reo_wnd(const struct sock *sk)
 {
        struct tcp_sock *tp = tcp_sk(sk);