summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-05-13 15:46:13 (GMT)
committerJames Bottomley <jejb@mulgrave.(none)>2005-05-20 17:53:52 (GMT)
commit0155a37ea5459f5bf1113c6fa519f943ef77d730 (patch)
tree371c9e711d842095ef039ba431332ed616a85e2b
parent21feb5ccd5d054b8a17fe86b1b5df1e16809df64 (diff)
downloadlinux-0155a37ea5459f5bf1113c6fa519f943ef77d730.tar.xz
[SCSI] remove unnecessary scsi_delete_timer() call in scsi_reset_provider()
scsi_reset_provider() calls scsi_delete_timer() on exit which isn't necessary. Remove it. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/scsi_error.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index 1a135f3..f5195cd 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1870,7 +1870,6 @@ scsi_reset_provider(struct scsi_device *dev, int flag)
rtn = FAILED;
}
- scsi_delete_timer(scmd);
scsi_next_command(scmd);
return rtn;
}