Skip to content

Commit

Permalink
[TCP]: Trivial tcp_data_queue() cleanup
Browse files Browse the repository at this point in the history
This patch removes a superfluous intialization from tcp_data_queue().

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
James Morris authored and David S. Miller committed Apr 26, 2005
1 parent 04237dd commit 088dd3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -3517,7 +3517,6 @@ static void tcp_data_queue(struct sock *sk, struct sk_buff *skb)
if (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq)
goto drop;

th = skb->h.th;
__skb_pull(skb, th->doff*4);

TCP_ECN_accept_cwr(tp, skb);
Expand Down

0 comments on commit 088dd3a

Please sign in to comment.