diff options
author | Fengguang Wu | 2014-05-30 10:31:13 -0600 |
---|---|---|
committer | Jens Axboe | 2014-05-30 10:31:13 -0600 |
commit | ee3c5db0896d85187b5f31b5482ed8fd308d31ee (patch) | |
tree | 947d5635b5ca89430f675bd28ab91f1bd18c7927 | |
parent | 67aec14ce87fe25bdfff7dbf468556333df11c4e (diff) |
blk-mq: blk_mq_unregister_hctx() can be static
CC: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r-- | block/blk-mq-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-mq-sysfs.c b/block/blk-mq-sysfs.c index e5f575ff0bf9..ed5217867555 100644 --- a/block/blk-mq-sysfs.c +++ b/block/blk-mq-sysfs.c @@ -327,7 +327,7 @@ static struct kobj_type blk_mq_hw_ktype = { .release = blk_mq_sysfs_release, }; -void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) +static void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) { struct blk_mq_ctx *ctx; int i; @@ -341,7 +341,7 @@ void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) kobject_del(&hctx->kobj); } -int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx) +static int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx) { struct request_queue *q = hctx->queue; struct blk_mq_ctx *ctx; |