Skip to content

Commit

Permalink
[SCSI] comment cleanup for spi_execute
Browse files Browse the repository at this point in the history
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Christoph Hellwig authored and James Bottomley committed Aug 28, 2005
1 parent 1ccb48b commit f189c5c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/scsi/scsi_transport_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ static int sprint_frac(char *dest, int value, int denom)
return result;
}

/* Modification of scsi_wait_req that will clear UNIT ATTENTION conditions
* resulting from (likely) bus and device resets */
static int spi_execute(struct scsi_device *sdev, const void *cmd,
enum dma_data_direction dir,
void *buffer, unsigned bufflen,
Expand All @@ -117,8 +115,6 @@ static int spi_execute(struct scsi_device *sdev, const void *cmd,
unsigned char sense[SCSI_SENSE_BUFFERSIZE];

for(i = 0; i < DV_RETRIES; i++) {

/* FIXME: need to set REQ_FAILFAST */
result = scsi_execute(sdev, cmd, dir, buffer, bufflen,
sense, DV_TIMEOUT, /* retries */ 1,
REQ_FAILFAST);
Expand Down

0 comments on commit f189c5c

Please sign in to comment.