Merge tag 'omap-for-v3.19/fixes-for-merge-window' of git://git.kernel.org/pub/scm...
[cascardo/linux.git] / drivers / scsi / dpt_i2o.c
index 072f0ec..0bf9769 100644 (file)
@@ -415,10 +415,8 @@ static int adpt_slave_configure(struct scsi_device * device)
        pHba = (adpt_hba *) host->hostdata[0];
 
        if (host->can_queue && device->tagged_supported) {
-               scsi_adjust_queue_depth(device, MSG_SIMPLE_TAG,
+               scsi_change_queue_depth(device,
                                host->can_queue - 1);
-       } else {
-               scsi_adjust_queue_depth(device, 0, 1);
        }
        return 0;
 }