Skip to content

Commit

Permalink
tcp: tcp_rack_reo_wnd() can be static
Browse files Browse the repository at this point in the history
Fixes: 20b654d ("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>
  • Loading branch information
kbuild test robot authored and David S. Miller committed May 18, 2018
1 parent dbec982 commit 1f7455c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/tcp_recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1f7455c

Please sign in to comment.