diff options
author | David Howells <dhowells@redhat.com> | 2019-10-07 16:10:06 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-11-15 17:22:54 +0100 |
commit | 7e25a73f1a52b58fc8206557e40d990cd791ad25 (patch) | |
tree | 067c51930399ebf523a9dd44a741ee5a90c916ae /fs | |
parent | pipe: Rearrange sequence in pipe_write() to preallocate slot (diff) | |
download | linux-7e25a73f1a52b58fc8206557e40d990cd791ad25.tar.xz linux-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')
-rw-r--r-- | fs/pipe.c | 5 |
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--; |