blk-mq: avoid code duplication
authorMing Lei <tom.leiming@gmail.com>
Tue, 27 May 2014 15:35:13 +0000 (23:35 +0800)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:48 +0000 (12:54 -0600)
commitb430e16069c990f3f099f7eb50087a1f92921e53
tree74680ce6e33781e70936bf3b6a9e41d6a2820f8a
parent250507e9e12585e76a119e1612a4a0ca3c8d367a
blk-mq: avoid code duplication

blk_mq_exit_hw_queues() and blk_mq_free_hw_queues()
are introduced to avoid code duplication.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c