tcp: reorganize retransmit code loops
Both loops are quite similar, so they can be combined with little effort. As a result, forward_skb_hint becomes obsolete as well. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
08ebd1721a
commit
0e1c54c2a4
@@ -1042,7 +1042,6 @@ static inline void tcp_clear_all_retrans_hints(struct tcp_sock *tp)
|
||||
tp->lost_skb_hint = NULL;
|
||||
tp->scoreboard_skb_hint = NULL;
|
||||
tp->retransmit_skb_hint = NULL;
|
||||
tp->forward_skb_hint = NULL;
|
||||
}
|
||||
|
||||
/* MD5 Signature */
|
||||
|
Reference in New Issue
Block a user