Commit 7e25a73f authored by David Howells's avatar David Howells

pipe: Remove redundant wakeup from pipe_write()

Remove a redundant wakeup from pipe_write().
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent a194dfe6
......@@ -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--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment