forked from Minki/linux
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
@ -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…
Reference in New Issue
Block a user