tcp: remove unnecessary tcp_sk assignment.
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>
This commit is contained in:
		
							parent
							
								
									9ebe24356f
								
							
						
					
					
						commit
						17846376f2
					
				| @ -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; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user