diff options
| author | 2007-01-02 12:56:00 +0100 | |
|---|---|---|
| committer | 2007-01-13 13:50:21 -0600 | |
| commit | 596f482a90ae27ea1b3da6a12ee42909045fbfd0 (patch) | |
| tree | 9a17313c93aacb1ac7a0c1a567d52ee3a87d1dd6 /drivers/scsi/scsi_lib.c | |
| parent | [SCSI] SNI RM 53c710 driver (diff) | |
| download | wireguard-linux-596f482a90ae27ea1b3da6a12ee42909045fbfd0.tar.xz wireguard-linux-596f482a90ae27ea1b3da6a12ee42909045fbfd0.zip | |
[SCSI] kill scsi_rety_command
scsi_retry_command only has a single caller, so there is no point
in having this function. Additionally the memset of the sense
buffer it does is entirely superflous as scsi_request_fn already
calls scsi_init_cmd_errh to perform this memset before the command
is reissued.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
| -rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index f02f48a882a9..503f09c2f05f 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1400,7 +1400,7 @@ static void scsi_softirq_done(struct request *rq) scsi_finish_command(cmd); break; case NEEDS_RETRY: - scsi_retry_command(cmd); + scsi_queue_insert(cmd, SCSI_MLQUEUE_EH_RETRY); break; case ADD_TO_MLQUEUE: scsi_queue_insert(cmd, SCSI_MLQUEUE_DEVICE_BUSY); |
