io_uring: remove extra check in __io_commit_cqring
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 17 Jan 2020 00:52:46 +0000 (03:52 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 21 Jan 2020 00:04:06 +0000 (17:04 -0700)
commit0791015837f1520dd72918355dcb1f1e79175255
tree9e1f2a218ce596ae1d15cda16867c9f783f85248
parent711be0312df4d350fb5bf1671c132cccae5aaf9a
io_uring: remove extra check in __io_commit_cqring

__io_commit_cqring() is almost always called when there is a change in
the rings, so the check is rather pessimising.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c