aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-01-04 03:14:11 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-12 13:58:02 -0400
commit1c9fbafc8c629c89183d6dccec67a8415513b0d1 (patch)
tree895ca90bbf8255568d691b6603414e15b4161887 /drivers/usb/storage
parent5a9ef25b14d39b8413364df12cb8d9bb7a673a32 (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/usb/storage')
-rw-r--r--drivers/usb/storage/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c
index fb65d221cedf..02e30a3ce7bf 100644
--- a/drivers/usb/storage/transport.c
+++ b/drivers/usb/storage/transport.c
@@ -781,7 +781,7 @@ void usb_stor_invoke_transport(struct scsi_cmnd *srb, struct us_data *us)
781 /* Did we transfer less than the minimum amount required? */ 781 /* Did we transfer less than the minimum amount required? */
782 if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) && 782 if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) &&
783 scsi_bufflen(srb) - scsi_get_resid(srb) < srb->underflow) 783 scsi_bufflen(srb) - scsi_get_resid(srb) < srb->underflow)
784 srb->result = (DID_ERROR << 16) | (SUGGEST_RETRY << 24); 784 srb->result = DID_ERROR << 16;
785 785
786 last_sector_hacks(us, srb); 786 last_sector_hacks(us, srb);
787 return; 787 return;