Skip to content

Commit

Permalink
tcp: kill dead end_seq variable in clean_rtx_queue
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ij1 authored and davem330 committed Mar 16, 2009
1 parent 5861f8e commit c43d558
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 */
Expand Down

0 comments on commit c43d558

Please sign in to comment.