blk-mq: collapse __blk_mq_drain_queue() into blk_mq_freeze_queue()
authorTejun Heo <tj@kernel.org>
Tue, 1 Jul 2014 16:33:02 +0000 (10:33 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 1 Jul 2014 16:33:02 +0000 (10:33 -0600)
commit72d6f02a8d4e0dda74de3a541b1c4ae82f5f7b45
tree63e27bc8021a69afa0ee10798aa340c7b0e35a60
parent780db2071ac4d167ee4154ad9c96088f1bba044b
blk-mq: collapse __blk_mq_drain_queue() into blk_mq_freeze_queue()

Keeping __blk_mq_drain_queue() as a separate function doesn't buy us
anything and it's gonna be further simplified.  Let's flatten it into
its caller.

This patch doesn't make any functional change.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c