io_uring/rsrc: remove null check on import
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 19 Apr 2025 17:47:06 +0000 (18:47 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 21 Apr 2025 11:10:04 +0000 (05:10 -0600)
commitbe6bad57b217491733754ae8113eec94a90a2769
tree39309b53ce07843bac3138b4839336597af25d78
parent9cebcf7b0c38bca1b501d8716163aa254b230559
io_uring/rsrc: remove null check on import

WARN_ON_ONCE() checking imu for NULL in io_import_fixed() is in the hot
path and too protective, it's time to get rid of it.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/3782c01e311dbd474bca45aefaf79a2f2822fafb.1745083025.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c