diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-19 05:32:53 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:34:10 -0400 |
commit | f189c5cb8ddde0c01838f2b3bc7650e86c097a14 (patch) | |
tree | e7032760509cdb7185fae574ac070f6dfeda8a3e | |
parent | 1ccb48bb163853c24840c0a50c2a6df1affe029c (diff) |
[SCSI] comment cleanup for spi_execute
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/scsi_transport_spi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c index 874042f1899d..ef577c8c2182 100644 --- a/drivers/scsi/scsi_transport_spi.c +++ b/drivers/scsi/scsi_transport_spi.c | |||
@@ -106,8 +106,6 @@ static int sprint_frac(char *dest, int value, int denom) | |||
106 | return result; | 106 | return result; |
107 | } | 107 | } |
108 | 108 | ||
109 | /* Modification of scsi_wait_req that will clear UNIT ATTENTION conditions | ||
110 | * resulting from (likely) bus and device resets */ | ||
111 | static int spi_execute(struct scsi_device *sdev, const void *cmd, | 109 | static int spi_execute(struct scsi_device *sdev, const void *cmd, |
112 | enum dma_data_direction dir, | 110 | enum dma_data_direction dir, |
113 | void *buffer, unsigned bufflen, | 111 | void *buffer, unsigned bufflen, |
@@ -117,8 +115,6 @@ static int spi_execute(struct scsi_device *sdev, const void *cmd, | |||
117 | unsigned char sense[SCSI_SENSE_BUFFERSIZE]; | 115 | unsigned char sense[SCSI_SENSE_BUFFERSIZE]; |
118 | 116 | ||
119 | for(i = 0; i < DV_RETRIES; i++) { | 117 | for(i = 0; i < DV_RETRIES; i++) { |
120 | |||
121 | /* FIXME: need to set REQ_FAILFAST */ | ||
122 | result = scsi_execute(sdev, cmd, dir, buffer, bufflen, | 118 | result = scsi_execute(sdev, cmd, dir, buffer, bufflen, |
123 | sense, DV_TIMEOUT, /* retries */ 1, | 119 | sense, DV_TIMEOUT, /* retries */ 1, |
124 | REQ_FAILFAST); | 120 | REQ_FAILFAST); |