Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7c3c646 authored by Al Viro's avatar Al Viro
Browse files

splice_to_pipe(): don't open-code wakeup_pipe_readers()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4038acdb
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -242,10 +242,7 @@ ssize_t splice_to_pipe(struct pipe_inode_info *pipe,
		}

		if (do_wakeup) {
			smp_mb();
			if (waitqueue_active(&pipe->wait))
				wake_up_interruptible_sync(&pipe->wait);
			kill_fasync(&pipe->fasync_readers, SIGIO, POLL_IN);
			wakeup_pipe_readers(pipe);
			do_wakeup = 0;
		}