Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17846376 authored by Dave Jones's avatar Dave Jones Committed by David S. Miller
Browse files

tcp: remove unnecessary tcp_sk assignment.



This variable is overwritten by the child socket assignment before
it ever gets used.

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ebe2435
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;