blk-mq: kill q->mq_map
commita8908939af569ce2419f43fd56eeaf003bc3d85d
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 20:23:06 +0000 (16 14:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 20:44:59 +0000 (7 13:44 -0700)
tree9940fd37b26a26ae1d63f94365fe97c862fa65d9
parenta0fedc857dff457e123aeaa2039d28ac90e543df
blk-mq: kill q->mq_map

It's just a pointer to set->mq_map, use that instead. Move the
assignment a bit earlier, so we always know it's valid.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/blk-mq.h
include/linux/blkdev.h