summaryrefslogtreecommitdiff
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-13 09:40:44 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-13 15:52:29 +0300
commita88db1e0003eda8adbe3c499b81f736d8065b952 (patch)
tree163db01feb444b5152bb36376cba3ebaae097c54 /block/blk-mq.h
parent2bd215df791b5d36ca1d20c07683100b48310cc2 (diff)
downloadlinux-a88db1e0003eda8adbe3c499b81f736d8065b952.tar.xz
blk-mq: fold __blk_mq_insert_request into blk_mq_insert_request
There is no good point in keeping the __blk_mq_insert_request around for two function calls and a singler caller. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230413064057.707578-8-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r--block/blk-mq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index bd7ae5e67a52..e2d59e33046e 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -65,8 +65,6 @@ void blk_mq_free_map_and_rqs(struct blk_mq_tag_set *set,
/*
* Internal helpers for request insertion into sw queues
*/
-void __blk_mq_insert_request(struct blk_mq_hw_ctx *hctx, struct request *rq,
- bool at_head);
void blk_mq_request_bypass_insert(struct request *rq, bool at_head,
bool run_queue);