mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
pipe: Remove redundant wakeup from pipe_write()
Remove a redundant wakeup from pipe_write(). Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
a194dfe6e6
commit
7e25a73f1a
1 changed files with 0 additions and 5 deletions
|
@ -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--;
|
||||
|
|
Loading…
Add table
Reference in a new issue