summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-09-21 06:22:17 +0200
committerDavid S. Miller <davem@davemloft.net>2008-09-21 06:22:17 +0200
commit34638570b58290e8cb875fb24dcbe836ffeb6cb8 (patch)
tree1436514b015cd8d27fe041dd0e3c0795fbb31e77 /net
parenttcp: add tcp_can_forward_retransmit (diff)
downloadlinux-34638570b58290e8cb875fb24dcbe836ffeb6cb8.tar.xz
linux-34638570b58290e8cb875fb24dcbe836ffeb6cb8.zip
tcp: remove obsolete validity concern
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 957c4e3d2176..6f2a3f4a1af3 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -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