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>
Tue, 27 May 2014 15:37:06 +0000 (09:37 -0600)
commit624dbe47541643b72868a59b2c0059bb53dc923f
treea76bcab29780e3cf73b80e81de2e912904436ab9
parent1f9f07e917f43af420f8cb3afc2b3fa703cea6e9
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