From: David Howells Date: Mon, 7 Oct 2019 14:10:06 +0000 (+0100) Subject: pipe: Remove redundant wakeup from pipe_write() X-Git-Tag: v5.10.7~3696^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e25a73f1a52b58fc8206557e40d990cd791ad25;p=platform%2Fkernel%2Flinux-rpi.git pipe: Remove redundant wakeup from pipe_write() Remove a redundant wakeup from pipe_write(). Signed-off-by: David Howells --- diff --git a/fs/pipe.c b/fs/pipe.c index ce77ac0..d7b8d3f 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--;