blk-mq: handle the single queue case in blk_mq_hctx_next_cpu
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 08:27:23 +0000 (09:27 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:56 +0000 (12:54 -0600)
commit583c30c736b0ae49eec894e695382c6c925c3bc1
treee355d86ac7bda30cecd3288287ed0031fce32941
parentae77dff838607102ef6ff45b0a0a3e9a6e7caed1
blk-mq: handle the single queue case in blk_mq_hctx_next_cpu

Don't duplicate the code to handle the not cpu bounce case in the
caller, do it inside blk_mq_hctx_next_cpu instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c