Skip to content

Commit 935f672

Browse files
cladischStefan Richter
authored andcommitted
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>
1 parent f203022 commit 935f672

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/firewire/sbp2.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,8 +1564,6 @@ static int sbp2_scsi_slave_configure(struct scsi_device *sdev)
15641564
if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)
15651565
blk_queue_max_hw_sectors(sdev->request_queue, 128 * 1024 / 512);
15661566

1567-
blk_queue_max_segment_size(sdev->request_queue, SBP2_MAX_SEG_SIZE);
1568-
15691567
return 0;
15701568
}
15711569

0 commit comments

Comments
 (0)