skd: Remove blk_queue_bounce_limit() call
authorBart Van Assche <bart.vanassche@wdc.com>
Tue, 29 Aug 2017 15:32:09 +0000 (08:32 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 15:43:03 +0000 (09:43 -0600)
Since sTec s1120 devices support 64-bit DMA it is not necessary
to request data buffer bouncing. Hence remove the
blk_queue_bounce_limit() call.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c

index 00a8625..f987ff6 100644 (file)
@@ -2844,7 +2844,6 @@ static int skd_cons_disk(struct skd_device *skdev)
                rc = PTR_ERR(q);
                goto err_out;
        }
-       blk_queue_bounce_limit(q, BLK_BOUNCE_HIGH);
        q->queuedata = skdev;
        q->nr_requests = skd_max_queue_depth / 2;