scsi: drop reason argument from ->change_queue_depth
[linux-block.git] / drivers / ata / sata_nv.c
index cdf99fac139a1c2bc5e4f77df39ec2d3be32f400..1db6f5ce5e8912b149f33b49f8876ebc608fc8e8 100644 (file)
@@ -1951,7 +1951,7 @@ static int nv_swncq_slave_config(struct scsi_device *sdev)
        ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num));
 
        if (strncmp(model_num, "Maxtor", 6) == 0) {
-               ata_scsi_change_queue_depth(sdev, 1, SCSI_QDEPTH_DEFAULT);
+               ata_scsi_change_queue_depth(sdev, 1);
                ata_dev_notice(dev, "Disabling SWNCQ mode (depth %x)\n",
                               sdev->queue_depth);
        }