aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index bce1b068f2a7..35bcddf8a932 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -597,10 +597,6 @@ ssize_t tcp_splice_read(struct socket *sock, loff_t *ppos,
597 ret = -ENOTCONN; 597 ret = -ENOTCONN;
598 break; 598 break;
599 } 599 }
600 if (flags & SPLICE_F_NONBLOCK) {
601 ret = -EAGAIN;
602 break;
603 }
604 if (!timeo) { 600 if (!timeo) {
605 ret = -EAGAIN; 601 ret = -EAGAIN;
606 break; 602 break;