提交 8eecaba9 编写于 作者: I Ilpo Järvinen 提交者: David S. Miller

tcp: tcp_limit_reno_sacked can become static

Signed-off-by: NIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2f9889a2
......@@ -761,8 +761,6 @@ static inline unsigned int tcp_packets_in_flight(const struct tcp_sock *tp)
return tp->packets_out - tcp_left_out(tp) + tp->retrans_out;
}
extern int tcp_limit_reno_sacked(struct tcp_sock *tp);
/* If cwnd > ssthresh, we may raise ssthresh to be half-way to cwnd.
* The exception is rate halving phase, when cwnd is decreasing towards
* ssthresh.
......
......@@ -1940,7 +1940,7 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb,
/* Limits sacked_out so that sum with lost_out isn't ever larger than
* packets_out. Returns zero if sacked_out adjustement wasn't necessary.
*/
int tcp_limit_reno_sacked(struct tcp_sock *tp)
static int tcp_limit_reno_sacked(struct tcp_sock *tp)
{
u32 holes;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册