Patchwork [PATCHv2,net-next,08/15] tcp: remove obsolete validity concern

login
register
mail settings
Submitter Ilpo Järvinen
Date Sept. 20, 2008, 9:47 p.m.
Message ID <1221947278-16715-9-git-send-email-ilpo.jarvinen@helsinki.fi>
Download mbox | patch
Permalink /patch/745/
State Accepted
Delegated to: David Miller
Headers show

Comments

Ilpo Järvinen - Sept. 20, 2008, 9:47 p.m.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
---
 net/ipv4/tcp_output.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Patch

diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 8919077..f4d6228 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2085,10 +2085,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