diff options
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index d63c81ed084f..9fbb39cd0f58 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -801,8 +801,6 @@ int ata_scsi_slave_config(struct scsi_device *sdev) | |||
801 | 801 | ||
802 | ata_scsi_sdev_config(sdev); | 802 | ata_scsi_sdev_config(sdev); |
803 | 803 | ||
804 | blk_queue_max_phys_segments(sdev->request_queue, LIBATA_MAX_PRD); | ||
805 | |||
806 | sdev->manage_start_stop = 1; | 804 | sdev->manage_start_stop = 1; |
807 | 805 | ||
808 | if (dev) | 806 | if (dev) |
@@ -3240,7 +3238,7 @@ static void ata_scsi_handle_link_detach(struct ata_link *link) | |||
3240 | 3238 | ||
3241 | /** | 3239 | /** |
3242 | * ata_scsi_media_change_notify - send media change event | 3240 | * ata_scsi_media_change_notify - send media change event |
3243 | * @atadev: Pointer to the disk device with media change event | 3241 | * @dev: Pointer to the disk device with media change event |
3244 | * | 3242 | * |
3245 | * Tell the block layer to send a media change notification | 3243 | * Tell the block layer to send a media change notification |
3246 | * event. | 3244 | * event. |