diff options
author | David Howells <dhowells@redhat.com> | 2019-10-07 15:10:06 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-11-15 16:22:54 +0000 |
commit | 7e25a73f1a52b58fc8206557e40d990cd791ad25 (patch) | |
tree | 067c51930399ebf523a9dd44a741ee5a90c916ae /fs/pipe.c | |
parent | a194dfe6e6f6f7205eea850a420f2bc6a1541209 (diff) | |
download | linux-stable-7e25a73f1a52b58fc8206557e40d990cd791ad25.tar.gz linux-stable-7e25a73f1a52b58fc8206557e40d990cd791ad25.tar.bz2 linux-stable-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.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--; |