summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJames Morris <jmorris@redhat.com>2005-04-26 04:39:29 (GMT)
committerDavid S. Miller <davem@davemloft.net>2005-04-26 04:39:29 (GMT)
commit088dd3a45fdb8fb726cd50575856562c4f6f1c3e (patch)
tree2cd53e54235456b621a67590817e0e6b7b735a5f /net
parent04237dddd14375fce1df4bfb1be92a35aa1c247f (diff)
downloadlinux-088dd3a45fdb8fb726cd50575856562c4f6f1c3e.tar.xz
[TCP]: Trivial tcp_data_queue() cleanup
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 2504927..6984042 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -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);