diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 0a4ed6e85c6f..66827177ae8b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -626,12 +626,6 @@ static inline void tcp_packets_out_inc(struct sock *sk, | |||
626 | inet_csk(sk)->icsk_rto, TCP_RTO_MAX); | 626 | inet_csk(sk)->icsk_rto, TCP_RTO_MAX); |
627 | } | 627 | } |
628 | 628 | ||
629 | static inline void tcp_packets_out_dec(struct tcp_sock *tp, | ||
630 | const struct sk_buff *skb) | ||
631 | { | ||
632 | tp->packets_out -= tcp_skb_pcount(skb); | ||
633 | } | ||
634 | |||
635 | /* Events passed to congestion control interface */ | 629 | /* Events passed to congestion control interface */ |
636 | enum tcp_ca_event { | 630 | enum tcp_ca_event { |
637 | CA_EVENT_TX_START, /* first transmit when no packets in flight */ | 631 | CA_EVENT_TX_START, /* first transmit when no packets in flight */ |