blk-mq: use blk_mq_put_driver_tag() to put tag
authorYufen Yu <yuyufen@huawei.com>
Sun, 24 Mar 2019 09:57:07 +0000 (17:57 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 24 Mar 2019 16:26:16 +0000 (10:26 -0600)
commit13f063815265c5397ee92d84436804bc9fb6b58b
tree6928c3c02b772df33b7f971e04f0bc2af6e2dc38
parent1bdd3dbfff7a308643c7f9ef74e4a8ef3923e686
blk-mq: use blk_mq_put_driver_tag() to put tag

Expect arguments, blk_mq_put_driver_tag_hctx() and blk_mq_put_driver_tag()
is same. We can just use argument 'request' to put tag by blk_mq_put_driver_tag().
Then we can remove the unused blk_mq_put_driver_tag_hctx().

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c
block/blk-mq.h