]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
blk-mq: mark __blk_mq_complete_request() static
authorJens Axboe <axboe@fb.com>
Thu, 5 Nov 2015 21:32:55 +0000 (14:32 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 11 Nov 2015 16:36:56 +0000 (09:36 -0700)
It's no longer used outside of blk-mq core.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
block/blk-mq.h

index 86bd5b25288e29c0415700db4993cd239183366e..3ae09de62f19ce2ca230a89ae6137a511fc9ae16 100644 (file)
@@ -358,7 +358,7 @@ static void blk_mq_ipi_complete_request(struct request *rq)
        put_cpu();
 }
 
-void __blk_mq_complete_request(struct request *rq)
+static void __blk_mq_complete_request(struct request *rq)
 {
        struct request_queue *q = rq->q;
 
index b44dce165761268c1f0a6bd64db78451f68d912f..713820b47b3182c85331f2638d44449cfdab3bbe 100644 (file)
@@ -25,7 +25,6 @@ struct blk_mq_ctx {
        struct kobject          kobj;
 } ____cacheline_aligned_in_smp;
 
-void __blk_mq_complete_request(struct request *rq);
 void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async);
 void blk_mq_freeze_queue(struct request_queue *q);
 void blk_mq_free_queue(struct request_queue *q);