projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04237dd
)
[TCP]: Trivial tcp_data_queue() cleanup
author
James Morris
<jmorris@redhat.com>
Tue, 26 Apr 2005 04:39:29 +0000
(21:39 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/ipv4/tcp_input.c
b/net/ipv4/tcp_input.c
index 250492735902408bd8fa183a366cb436a84408e4..6984042c09272dcf57ed8ee2ca469f623335d729 100644
(file)
--- 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);