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, 24 Nov 2014 15:02:07 +0000 (08:02 -0700)
commitb657d7e632e0bc40e5e231332be39d69b2f1a0bb
tree89027f22274a6f9a4075fcd5736f9a41664efbd3
parent5fabcb4c33fe11c7e3afdf805fde26c1a54d0953
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