[TCP]: Trivial tcp_data_queue() cleanup
authorJames Morris <jmorris@redhat.com>
Tue, 26 Apr 2005 04:39:29 +0000 (21:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2005 04:39:29 +0000 (21:39 -0700)
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>
net/ipv4/tcp_input.c

index 2504927..6984042 100644 (file)
@@ -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);