diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-14 17:02:16 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-15 12:13:32 -0700 |
commit | b061b326287d45aeaf313f7dddd02e88e31db14b (patch) | |
tree | ceb4b386ef629304777ca68a61fe85cd37b9f8ed /drivers/mmc/core/block.c | |
parent | 68fc68f2ff620852ee43ee7a2831bc5eeb9472d6 (diff) | |
download | linux-b061b326287d45aeaf313f7dddd02e88e31db14b.tar.bz2 |
mmc: simplify queue initialization
Merge three functions initializing the queue into a single one, and drop
an unused argument for it.
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/mmc/core/block.c')
-rw-r--r-- | drivers/mmc/core/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index c35b5b08bb33..27606e1382e5 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -2334,7 +2334,7 @@ static struct mmc_blk_data *mmc_blk_alloc_req(struct mmc_card *card, INIT_LIST_HEAD(&md->rpmbs); md->usage = 1; - ret = mmc_init_queue(&md->queue, card, &md->lock, subname); + ret = mmc_init_queue(&md->queue, card, &md->lock); if (ret) goto err_putdisk; |