]> www.infradead.org Git - nvme.git/commit
block: remove blk_rq_bio_prep
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Jan 2025 07:33:58 +0000 (08:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 4 Jan 2025 22:27:35 +0000 (15:27 -0700)
commit02ee5d69e3baf2796ba75b928fcbc9cf7884c5e9
treed26daa09dff3a45b65ce11176a128314088e0377
parent6aeb4f836480617be472de767c4cb09c1060a067
block: remove blk_rq_bio_prep

There is not real point in a helper just to assign three values to four
fields, especially when the surrounding code is working on the
neighbor fields directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Link: https://lore.kernel.org/r/20250103073417.459715-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c
block/blk-mq.c
include/linux/blk-mq.h