mmc/block: remove a call to blk_queue_bounce_limit
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 07:26:28 +0000 (09:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jun 2017 18:13:45 +0000 (12:13 -0600)
BLK_BOUNCE_ANY is the defauly now, so the call is superflous.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mmc/core/queue.c

index 7f20298d892b01b0a731f50a914dac89483bb757..b659a28c801817e53773fa7a919babbe70f7648a 100644 (file)
@@ -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);