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