summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2007-08-25 05:44:06 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 23:48:28 (GMT)
commit6ff03ac355cc6c10f7b1f44dd466d41213acebca (patch)
tree9057f7839df5bc65ea73148eee4148114f6f45c9 /include
parente9144bd8da80f3136b23c615609798e371e885ac (diff)
downloadlinux-6ff03ac355cc6c10f7b1f44dd466d41213acebca.tar.xz
[TCP]: tcp_packets_out_inc to tcp_output.c (no callers elsewhere)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 6682717..4ba256a 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -614,18 +614,6 @@ static inline void tcp_dec_pcount_approx(__u32 *count,
tcp_dec_pcount_approx_int(count, tcp_skb_pcount(skb));
}
-static inline void tcp_packets_out_inc(struct sock *sk,
- const struct sk_buff *skb)
-{
- struct tcp_sock *tp = tcp_sk(sk);
- int orig = tp->packets_out;
-
- tp->packets_out += tcp_skb_pcount(skb);
- if (!orig)
- inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS,
- inet_csk(sk)->icsk_rto, TCP_RTO_MAX);
-}
-
/* Events passed to congestion control interface */
enum tcp_ca_event {
CA_EVENT_TX_START, /* first transmit when no packets in flight */