diff options
Diffstat (limited to 'drivers/scsi/3w-sas.c')
-rw-r--r-- | drivers/scsi/3w-sas.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c index ac0c2544a470..547756b7d5bf 100644 --- a/drivers/scsi/3w-sas.c +++ b/drivers/scsi/3w-sas.c | |||
@@ -198,8 +198,6 @@ static int twl_change_queue_depth(struct scsi_device *sdev, int queue_depth, | |||
198 | if (reason != SCSI_QDEPTH_DEFAULT) | 198 | if (reason != SCSI_QDEPTH_DEFAULT) |
199 | return -EOPNOTSUPP; | 199 | return -EOPNOTSUPP; |
200 | 200 | ||
201 | if (queue_depth > TW_Q_LENGTH-2) | ||
202 | queue_depth = TW_Q_LENGTH-2; | ||
203 | scsi_adjust_queue_depth(sdev, queue_depth); | 201 | scsi_adjust_queue_depth(sdev, queue_depth); |
204 | return queue_depth; | 202 | return queue_depth; |
205 | } /* End twl_change_queue_depth() */ | 203 | } /* End twl_change_queue_depth() */ |