summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorIlpo Järvinen2009-03-14 15:23:02 +0100
committerDavid S. Miller2009-03-16 04:09:51 +0100
commitc43d558a5139a3b22dcac3f19f64ecb39130b02e (patch)
tree1a64361ad6bb033e7f039452855105c21707e59a /net/ipv4/tcp_input.c
parenttcp: remove pointless .dsack/.num_sacks code (diff)
downloadkernel-qcow2-linux-c43d558a5139a3b22dcac3f19f64ecb39130b02e.tar.gz
kernel-qcow2-linux-c43d558a5139a3b22dcac3f19f64ecb39130b02e.tar.xz
kernel-qcow2-linux-c43d558a5139a3b22dcac3f19f64ecb39130b02e.zip
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/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c3
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,
while ((skb = tcp_write_queue_head(sk)) && skb != tcp_send_head(sk)) {
struct tcp_skb_cb *scb = TCP_SKB_CB(skb);
- u32 end_seq;
u32 acked_pcount;
u8 sacked = scb->sacked;
@@ -3216,10 +3215,8 @@ static int tcp_clean_rtx_queue(struct sock *sk, int prior_fackets,
break;
fully_acked = 0;
- end_seq = tp->snd_una;
} else {
acked_pcount = tcp_skb_pcount(skb);
- end_seq = scb->end_seq;
}
/* MTU probing checks */