summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-11-05 14:32:55 -0700
committerJens Axboe <axboe@fb.com>2015-11-11 09:36:56 -0700
commit1fa8cc52f46c14fb1afc20c220855c40a5d28fcd (patch)
treec7783d3b8c2aaef793bc72603698ccc3c2aa1812 /block
parent82c426e0f1f0b279a04cbafd1d25b504bbf49c22 (diff)
downloadop-kernel-dev-1fa8cc52f46c14fb1afc20c220855c40a5d28fcd.zip
op-kernel-dev-1fa8cc52f46c14fb1afc20c220855c40a5d28fcd.tar.gz
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.c2
-rw-r--r--block/blk-mq.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 86bd5b2..3ae09de 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 b44dce1..713820b 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);
OpenPOWER on IntegriCloud