diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:39 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 15:27:23 +0200 |
commit | f695ca3886ce72b027af7aa6040cd420cae2088c (patch) | |
tree | d1b933667a0a5680809554baf207e5aca90a790a /block/blk-mq.c | |
parent | fs: remove a weird comment in submit_bh_wbc (diff) | |
download | linux-f695ca3886ce72b027af7aa6040cd420cae2088c.tar.xz linux-f695ca3886ce72b027af7aa6040cd420cae2088c.zip |
block: remove the request_queue argument from blk_queue_split
The queue can be trivially derived from the bio, so pass one less
argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 65e0846fd065..dbadb7defd61 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2166,7 +2166,7 @@ blk_qc_t blk_mq_make_request(struct request_queue *q, struct bio *bio) blk_status_t ret; blk_queue_bounce(q, &bio); - __blk_queue_split(q, &bio, &nr_segs); + __blk_queue_split(&bio, &nr_segs); if (!bio_integrity_prep(bio)) goto queue_exit; |