diff options
| author | Jens Axboe <axboe@kernel.dk> | 2018-10-16 16:23:06 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 15:44:59 -0500 |
| commit | a8908939af569ce2419f43fd56eeaf003bc3d85d (patch) | |
| tree | 9940fd37b26a26ae1d63f94365fe97c862fa65d9 /include/linux/blkdev.h | |
| parent | a0fedc857dff457e123aeaa2039d28ac90e543df (diff) | |
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>
Diffstat (limited to 'include/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index c8fa4d3d7fee..2ae7465d68ab 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -409,8 +409,6 @@ struct request_queue { | |||
| 409 | 409 | ||
| 410 | const struct blk_mq_ops *mq_ops; | 410 | const struct blk_mq_ops *mq_ops; |
| 411 | 411 | ||
| 412 | unsigned int *mq_map; | ||
| 413 | |||
| 414 | /* sw queues */ | 412 | /* sw queues */ |
| 415 | struct blk_mq_ctx __percpu *queue_ctx; | 413 | struct blk_mq_ctx __percpu *queue_ctx; |
| 416 | unsigned int nr_queues; | 414 | unsigned int nr_queues; |
