projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebe243
)
tcp: remove unnecessary tcp_sk assignment.
author
Dave Jones
<davej@redhat.com>
Mon, 16 Jun 2014 20:30:36 +0000
(16:30 -0400)
committer
David S. Miller
<davem@davemloft.net>
Tue, 17 Jun 2014 04:35:00 +0000
(21:35 -0700)
This variable is overwritten by the child socket assignment before
it ever gets used.
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_fastopen.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_fastopen.c
b/net/ipv4/tcp_fastopen.c
index 62e48cf84e602a005ab2ce61c058ca709702098a..9771563ab564923e325f5eb5341d7e6ae81a499a 100644
(file)
--- a/
net/ipv4/tcp_fastopen.c
+++ b/
net/ipv4/tcp_fastopen.c
@@
-131,7
+131,7
@@
static bool tcp_fastopen_create_child(struct sock *sk,
struct dst_entry *dst,
struct request_sock *req)
{
- struct tcp_sock *tp
= tcp_sk(sk)
;
+ struct tcp_sock *tp;
struct request_sock_queue *queue = &inet_csk(sk)->icsk_accept_queue;
struct sock *child;