aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-07-07 23:15:56 -0700
committerDavid S. Miller <[email protected]>2018-07-08 17:14:58 +0900
commitc47078d6a33fd78d882200cdaacbcfcd63318234 (patch)
treed8ca13d8919bf0f915a84ebe70050b60761619e4 /lib/memory-notifier-error-inject.c
parent3d907eafa34335bb379fd429dcd326e3f44aff19 (diff)
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions