io_uring: kill extra user_bufs check
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 5 Sep 2020 21:45:48 +0000 (00:45 +0300)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:34 +0000 (20:32 -0600)
commit4be1c615126963ade321492283c05fb653f55099
tree04b140e37dde26645d226f9b461ad286b42475e1
parentab0b196ce5551a093388bb2ceace30df7891051c
io_uring: kill extra user_bufs check

Testing ctx->user_bufs for NULL in io_import_fixed() is not neccessary,
because in that case ctx->nr_user_bufs would be zero, and the following
check would fail.

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