aboutsummaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2019-10-07 15:10:06 +0100
committerDavid Howells <dhowells@redhat.com>2019-11-15 16:22:54 +0000
commit7e25a73f1a52b58fc8206557e40d990cd791ad25 (patch)
tree067c51930399ebf523a9dd44a741ee5a90c916ae /fs/pipe.c
parentpipe: Rearrange sequence in pipe_write() to preallocate slot (diff)
downloadlinux-dev-7e25a73f1a52b58fc8206557e40d990cd791ad25.tar.xz
linux-dev-7e25a73f1a52b58fc8206557e40d990cd791ad25.zip
pipe: Remove redundant wakeup from pipe_write()
Remove a redundant wakeup from pipe_write(). Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/pipe.c')
-rw-r--r--fs/pipe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/pipe.c b/fs/pipe.c
index ce77ac0d8901..d7b8d3f22987 100644
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -517,11 +517,6 @@ pipe_write(struct kiocb *iocb, struct iov_iter *from)
ret = -ERESTARTSYS;
break;
}
- if (do_wakeup) {
- wake_up_interruptible_sync_poll(&pipe->wait, EPOLLIN | EPOLLRDNORM);
- kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
- do_wakeup = 0;
- }
pipe->waiting_writers++;
pipe_wait(pipe);
pipe->waiting_writers--;