summaryrefslogtreecommitdiffstats
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 12:58:02 -0500
commit1c9fbafc8c629c89183d6dccec67a8415513b0d1 (patch)
tree895ca90bbf8255568d691b6603414e15b4161887 /drivers/usb/storage
parent5a9ef25b14d39b8413364df12cb8d9bb7a673a32 (diff)
downloadblackbird-op-linux-1c9fbafc8c629c89183d6dccec67a8415513b0d1.tar.gz
blackbird-op-linux-1c9fbafc8c629c89183d6dccec67a8415513b0d1.zip
[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)
/* Did we transfer less than the minimum amount required? */
if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) &&
scsi_bufflen(srb) - scsi_get_resid(srb) < srb->underflow)
- srb->result = (DID_ERROR << 16) | (SUGGEST_RETRY << 24);
+ srb->result = DID_ERROR << 16;
last_sector_hacks(us, srb);
return;
OpenPOWER on IntegriCloud