]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/rsrc: remove redundant check for valid imu
authorKeith Busch <kbusch@kernel.org>
Mon, 24 Feb 2025 21:31:06 +0000 (13:31 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Feb 2025 14:17:39 +0000 (07:17 -0700)
commitc5b47d5a8c0d3c657751f803295213284f432672
treeb930229502267954224b84df5834fe513a68e9c9
parent7a9b0d6925b2b13640a94ca6e72a753bb39526b2
io_uring/rsrc: remove redundant check for valid imu

The only caller to io_buffer_unmap already checks if the node's buf is
not null, so no need to check again.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250224213116.3509093-2-kbusch@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c