mmc: simplify queue initialization
commitb061b326287d45aeaf313f7dddd02e88e31db14b
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Nov 2018 16:02:16 +0000 (14 17:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Nov 2018 19:13:32 +0000 (15 12:13 -0700)
treeceb4b386ef629304777ca68a61fe85cd37b9f8ed
parent68fc68f2ff620852ee43ee7a2831bc5eeb9472d6
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>
drivers/mmc/core/block.c
drivers/mmc/core/queue.c
drivers/mmc/core/queue.h