Skip to content

Commit

Permalink
tcp: remove obsolete validity concern
Browse files Browse the repository at this point in the history
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Sep 21, 2008
1 parent b5afe7b commit 3463857
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -2087,10 +2087,6 @@ void tcp_xmit_retransmit_queue(struct sock *sk)
if (!tcp_can_forward_retransmit(sk))
return;

/* If nothing is SACKed, highest_sack in the loop won't be valid */
if (!tp->sacked_out)
return;

if (tp->forward_skb_hint)
skb = tp->forward_skb_hint;
else
Expand Down

0 comments on commit 3463857

Please sign in to comment.