diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-14 16:18:54 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-15 08:42:03 -0600 |
commit | 7d7e0f90b70f6c5367c2d1c9a7e87dd228bd0816 (patch) | |
tree | 6105df4466a36e85a24ead3b67a35d31f9f37011 /drivers/mtd/ubi | |
parent | bdd17e75cd97c5c39feee409890a91d0396640fe (diff) | |
download | linux-stable-7d7e0f90b70f6c5367c2d1c9a7e87dd228bd0816.tar.gz linux-stable-7d7e0f90b70f6c5367c2d1c9a7e87dd228bd0816.tar.bz2 linux-stable-7d7e0f90b70f6c5367c2d1c9a7e87dd228bd0816.zip |
blk-mq: remove ->map_queue
All drivers use the default, so provide an inline version of it. If we
ever need other queue mapping we can add an optional method back,
although supporting will also require major changes to the queue setup
code.
This provides better code generation, and better debugability as well.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r-- | drivers/mtd/ubi/block.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c index ebf46ad2d513..d1e6931c132f 100644 --- a/drivers/mtd/ubi/block.c +++ b/drivers/mtd/ubi/block.c @@ -351,7 +351,6 @@ static int ubiblock_init_request(void *data, struct request *req, static struct blk_mq_ops ubiblock_mq_ops = { .queue_rq = ubiblock_queue_rq, .init_request = ubiblock_init_request, - .map_queue = blk_mq_map_queue, }; static DEFINE_IDR(ubiblock_minor_idr); |