]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/tcp_output.c
[TCP]: Remove unnecessary wrapper tcp_packets_out_dec
[linux-2.6-omap-h63xx.git] / net / ipv4 / tcp_output.c
index a3679174e78a624c217797392edcab95fd9aded0..1d65ce1b68d7cde690f30ed75549ffde2b70048d 100644 (file)
@@ -1735,7 +1735,7 @@ static void tcp_retrans_try_collapse(struct sock *sk, struct sk_buff *skb, int m
                 * it is better to underestimate fackets.
                 */
                tcp_dec_pcount_approx(&tp->fackets_out, next_skb);
-               tcp_packets_out_dec(tp, next_skb);
+               tp->packets_out -= tcp_skb_pcount(next_skb);
                sk_stream_free_skb(sk, next_skb);
        }
 }