ipasdv4/tcp_ipv4: remove redundant assignment
authorxu xin <xu.xin16@zte.com.cn>
Fri, 11 Nov 2022 09:04:20 +0000 (09:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2022 11:20:15 +0000 (11:20 +0000)
commit2fd450cd83e3c978a4902aceb4aac36fa341067c
tree94dd56323012b69b633a6436dfac0cad7aaae313
parent8a30b30b26bcf1b098ab6f4149e5a3cf53d5c4d9
ipasdv4/tcp_ipv4: remove redundant assignment

The value of 'st->state' has been verified as "TCP_SEQ_STATE_LISTENING",
it's unnecessary to assign TCP_SEQ_STATE_LISTENING to it, so we can remove it.

Signed-off-by: xu xin <xu.xin16@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c