Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 935f672e authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Stefan Richter
Browse files

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: default avatarClemens Ladisch <clemens@ladisch.de>
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent f2030223
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1564,8 +1564,6 @@ static int sbp2_scsi_slave_configure(struct scsi_device *sdev)
	if (lu->tgt->workarounds & SBP2_WORKAROUND_128K_MAX_TRANS)
		blk_queue_max_hw_sectors(sdev->request_queue, 128 * 1024 / 512);

	blk_queue_max_segment_size(sdev->request_queue, SBP2_MAX_SEG_SIZE);

	return 0;
}