block: remove the NULL ioc check in put_io_context
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Dec 2021 06:31:24 +0000 (07:31 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Dec 2021 17:59:01 +0000 (10:59 -0700)
commit8a20c0c7e0cea7eb0c32fd6b63ff514c9ac32b8f
tree2a3eb9f48b6526fca86eec391b70ae9f0d600a52
parent4be8a2eaff2e4473b6e8ad9a3857bc9b1e79c8ba
block: remove the NULL ioc check in put_io_context

No caller passes in a NULL pointer, so remove the check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20211209063131.18537-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ioc.c