aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-07-08 06:15:56 +0000
committerDavid S. Miller <[email protected]>2018-07-08 08:14:58 +0000
commitc47078d6a33fd78d882200cdaacbcfcd63318234 (patch)
treed8ca13d8919bf0f915a84ebe70050b60761619e4 /net/ipv4/tcp_input.c
parentMerge branch 'mlxsw-Spectrum2-acl-prep' (diff)
downloadkernel-c47078d6a33fd78d882200cdaacbcfcd63318234.tar.gz
kernel-c47078d6a33fd78d882200cdaacbcfcd63318234.zip
tcp: remove redundant SOCK_DONE checks
In both tcp_splice_read() and tcp_recvmsg(), we already test sock_flag(sk, SOCK_DONE) right before evaluating sk->sk_state, so "!sock_flag(sk, SOCK_DONE)" is always true. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions