diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-01-04 03:14:11 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:58:02 -0400 |
commit | 1c9fbafc8c629c89183d6dccec67a8415513b0d1 (patch) | |
tree | 895ca90bbf8255568d691b6603414e15b4161887 /drivers/scsi/ips.c | |
parent | 5a9ef25b14d39b8413364df12cb8d9bb7a673a32 (diff) |
[SCSI] Remove SUGGEST flags
The SUGGEST_* flags in the SCSI command result have been out of fashion
for a while and we don't actually use them in the error handling.
Remove the remaining occurrences.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/ips.c')
-rw-r--r-- | drivers/scsi/ips.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index ef683f0d2b5a..457d76a4cfe5 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -1004,8 +1004,7 @@ static int __ips_eh_reset(struct scsi_cmnd *SC) | |||
1004 | DEBUG_VAR(1, "(%s%d) Failing active commands", ips_name, ha->host_num); | 1004 | DEBUG_VAR(1, "(%s%d) Failing active commands", ips_name, ha->host_num); |
1005 | 1005 | ||
1006 | while ((scb = ips_removeq_scb_head(&ha->scb_activelist))) { | 1006 | while ((scb = ips_removeq_scb_head(&ha->scb_activelist))) { |
1007 | scb->scsi_cmd->result = | 1007 | scb->scsi_cmd->result = DID_RESET << 16; |
1008 | (DID_RESET << 16) | (SUGGEST_RETRY << 24); | ||
1009 | scb->scsi_cmd->scsi_done(scb->scsi_cmd); | 1008 | scb->scsi_cmd->scsi_done(scb->scsi_cmd); |
1010 | ips_freescb(ha, scb); | 1009 | ips_freescb(ha, scb); |
1011 | } | 1010 | } |