diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2012-05-18 12:41:28 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-05-21 15:42:51 -0400 |
commit | 935f672e02c8172a23bd3e54feafffcfcce39f0d (patch) | |
tree | f3cc2bdfeb3751d8752186a7ef05d66c580ac824 /drivers/firewire/sbp2.c | |
parent | f203022353eb3e0b059a72a43762e240e9682c91 (diff) |
firewire: sbp2: remove superfluous blk_queue_max_segment_size() call
The SCSI framework automatically initializes the block queue's segment
size with the DMA device's segment size.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/sbp2.c')
-rw-r--r-- | drivers/firewire/sbp2.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c index 6ffaef3307e8..1f888f3ef7ae 100644 --- a/drivers/firewire/sbp2.c +++ b/drivers/firewire/sbp2.c | |||
@@ -1564,8 +1564,6 @@ static int sbp2_scsi_slave_configure(struct scsi_device *sdev) | |||
1564 | if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS) | 1564 | if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS) |
1565 | blk_queue_max_hw_sectors(sdev->request_queue, 128 * 1024 / 512); | 1565 | blk_queue_max_hw_sectors(sdev->request_queue, 128 * 1024 / 512); |
1566 | 1566 | ||
1567 | blk_queue_max_segment_size(sdev->request_queue, SBP2_MAX_SEG_SIZE); | ||
1568 | |||
1569 | return 0; | 1567 | return 0; |
1570 | } | 1568 | } |
1571 | 1569 | ||