scsi: iscsi_tcp: don't set a bounce limit
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Apr 2018 08:50:21 +0000 (10:50 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 19 Apr 2018 04:00:44 +0000 (00:00 -0400)
The default already is to never bounce, so the call is a no-op.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/iscsi_tcp.c

index 2ba4b68fdb73f44840509708a170e763e5502be2..b025a0b7434174cea0096b23fad34aa18a22de20 100644 (file)
@@ -962,7 +962,6 @@ static int iscsi_sw_tcp_slave_configure(struct scsi_device *sdev)
        if (conn->datadgst_en)
                sdev->request_queue->backing_dev_info->capabilities
                        |= BDI_CAP_STABLE_WRITES;
-       blk_queue_bounce_limit(sdev->request_queue, BLK_BOUNCE_ANY);
        blk_queue_dma_alignment(sdev->request_queue, 0);
        return 0;
 }