diff options
author | Jens Axboe | 2015-11-05 14:32:55 -0700 |
---|---|---|
committer | Jens Axboe | 2015-11-11 09:36:56 -0700 |
commit | 1fa8cc52f46c14fb1afc20c220855c40a5d28fcd (patch) | |
tree | c7783d3b8c2aaef793bc72603698ccc3c2aa1812 /block | |
parent | 82c426e0f1f0b279a04cbafd1d25b504bbf49c22 (diff) |
blk-mq: mark __blk_mq_complete_request() static
It's no longer used outside of blk-mq core.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-mq.c | 2 | ||||
-rw-r--r-- | block/blk-mq.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 86bd5b25288e..3ae09de62f19 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -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; diff --git a/block/blk-mq.h b/block/blk-mq.h index b44dce165761..713820b47b31 100644 --- a/block/blk-mq.h +++ b/block/blk-mq.h @@ -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); |