]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/tcp_input.c
[TCP]: Remove unnecessary wrapper tcp_packets_out_dec
[linux-2.6-omap-h63xx.git] / net / ipv4 / tcp_input.c
index faba9beb361373624ff22cb5d75c4f4e2379d3cd..593960d66ed968e8a8499cf272bd96acc137d350 100644 (file)
@@ -2569,7 +2569,7 @@ static int tcp_clean_rtx_queue(struct sock *sk, __s32 *seq_rtt_p)
                        last_ackt = skb->tstamp;
                }
                tcp_dec_pcount_approx(&tp->fackets_out, skb);
-               tcp_packets_out_dec(tp, skb);
+               tp->packets_out -= tcp_skb_pcount(skb);
                tcp_unlink_write_queue(skb, sk);
                sk_stream_free_skb(sk, skb);
                clear_all_retrans_hints(tp);