diff options
author | Omar Sandoval <osandov@fb.com> | 2017-03-21 16:56:05 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-03-21 17:03:08 +0100 |
commit | 0315b159085621d2ff72dbf69ca6fb4a5b32bae2 (patch) | |
tree | dc221b845edfce8f3cdc2bc44dab112463320a7b /block/blk-mq.c | |
parent | blk-stat: fix blk_stat_sum() if all samples are batched (diff) | |
download | linux-0315b159085621d2ff72dbf69ca6fb4a5b32bae2.tar.xz linux-0315b159085621d2ff72dbf69ca6fb4a5b32bae2.zip |
block: remove extra calls to wbt_exit()
We always call wbt_exit() from blk_release_queue(), so these are
unnecessary.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index a4546f060e80..534f49a90e3a 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2431,8 +2431,6 @@ void blk_mq_free_queue(struct request_queue *q) list_del_init(&q->all_q_node); mutex_unlock(&all_q_mutex); - wbt_exit(q); - blk_mq_del_queue_tag_set(q); blk_mq_exit_hw_queues(q, set, set->nr_hw_queues); |