aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/block/skd_main.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-29 08:32:09 -0700
committerJens Axboe <axboe@kernel.dk>2017-08-29 09:43:03 -0600
commitbf231981bef52eb4130d30ffc06a6fe256866602 (patch)
tree48d88420173a0e70355b868191bf11dec005b4be /drivers/block/skd_main.c
parentnbd: make device_attribute const (diff)
downloadwireguard-linux-bf231981bef52eb4130d30ffc06a6fe256866602.tar.xz
wireguard-linux-bf231981bef52eb4130d30ffc06a6fe256866602.zip
skd: Remove blk_queue_bounce_limit() call
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>
Diffstat (limited to 'drivers/block/skd_main.c')
-rw-r--r--drivers/block/skd_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index 00a86252b3c5..f987ff601a4c 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -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;