mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[TCP]: Remove unnecessary wrapper tcp_packets_out_dec
Makes caller side more obvious, there's no need to have a wrapper for this oneliner! Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
522400623e
commit
e9144bd8da
3 changed files with 2 additions and 8 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue