diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2009-03-14 10:23:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-15 23:09:51 -0400 |
commit | c43d558a5139a3b22dcac3f19f64ecb39130b02e (patch) | |
tree | 1a64361ad6bb033e7f039452855105c21707e59a /net | |
parent | 5861f8e58dd84fc34b691c2e8d4824dea68c360e (diff) |
tcp: kill dead end_seq variable in clean_rtx_queue
I've already forgotten what for this was necessary, anyway
it's no longer used (if it ever was).
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_input.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index cd39d1d02dc3..f527a16a7b33 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -3201,7 +3201,6 @@ static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets, | |||
3201 | 3201 | ||
3202 | while ((skb = tcp_write_queue_head(sk)) && skb != tcp_send_head(sk)) { | 3202 | while ((skb = tcp_write_queue_head(sk)) && skb != tcp_send_head(sk)) { |
3203 | struct tcp_skb_cb *scb = TCP_SKB_CB(skb); | 3203 | struct tcp_skb_cb *scb = TCP_SKB_CB(skb); |
3204 | u32 end_seq; | ||
3205 | u32 acked_pcount; | 3204 | u32 acked_pcount; |
3206 | u8 sacked = scb->sacked; | 3205 | u8 sacked = scb->sacked; |
3207 | 3206 | ||
@@ -3216,10 +3215,8 @@ static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets, | |||
3216 | break; | 3215 | break; |
3217 | 3216 | ||
3218 | fully_acked = 0; | 3217 | fully_acked = 0; |
3219 | end_seq = tp->snd_una; | ||
3220 | } else { | 3218 | } else { |
3221 | acked_pcount = tcp_skb_pcount(skb); | 3219 | acked_pcount = tcp_skb_pcount(skb); |
3222 | end_seq = scb->end_seq; | ||
3223 | } | 3220 | } |
3224 | 3221 | ||
3225 | /* MTU probing checks */ | 3222 | /* MTU probing checks */ |