[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 250492735902408bd8fa183a366cb436a84408e4..6984042c09272dcf57ed8ee2ca469f623335d729 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);