diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-29 15:53:08 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-29 10:23:24 -0600 |
commit | 5d9c305b8ea3fbc95bedfde01f7dd91e68082098 (patch) | |
tree | 29fefd8b88e0570c56e907067d281f98679f9e87 /block/mq-deadline.c | |
parent | 3382a567efd4015697f087f2e91ac08b90577876 (diff) | |
download | lwn-5d9c305b8ea3fbc95bedfde01f7dd91e68082098.tar.gz lwn-5d9c305b8ea3fbc95bedfde01f7dd91e68082098.zip |
blk-mq: remove the bio argument to ->prepare_request
None of the I/O schedulers actually needs it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/mq-deadline.c')
-rw-r--r-- | block/mq-deadline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/mq-deadline.c b/block/mq-deadline.c index b490f47fd553..b57470e154c8 100644 --- a/block/mq-deadline.c +++ b/block/mq-deadline.c @@ -541,7 +541,7 @@ static void dd_insert_requests(struct blk_mq_hw_ctx *hctx, * Nothing to do here. This is defined only to ensure that .finish_request * method is called upon request completion. */ -static void dd_prepare_request(struct request *rq, struct bio *bio) +static void dd_prepare_request(struct request *rq) { } |