From: Christoph Hellwig Date: Mon, 19 Jun 2017 07:26:28 +0000 (+0200) Subject: mmc/block: remove a call to blk_queue_bounce_limit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8298912bb6de7e3c9f86ad19d6488ac88cd0e940;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mmc/block: remove a call to blk_queue_bounce_limit BLK_BOUNCE_ANY is the defauly now, so the call is superflous. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c index 7f20298d892b..b659a28c8018 100644 --- a/drivers/mmc/core/queue.c +++ b/drivers/mmc/core/queue.c @@ -388,7 +388,6 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, mmc_queue_setup_discard(mq->queue, card); if (card->bouncesz) { - blk_queue_bounce_limit(mq->queue, BLK_BOUNCE_ANY); blk_queue_max_hw_sectors(mq->queue, card->bouncesz / 512); blk_queue_max_segments(mq->queue, card->bouncesz / 512); blk_queue_max_segment_size(mq->queue, card->bouncesz);