Skip to content

Commit

Permalink
[SCSI] remove unnecessary scsi_delete_timer() call in scsi_reset_prov…
Browse files Browse the repository at this point in the history
…ider()

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>
  • Loading branch information
Tejun Heo authored and James Bottomley committed May 20, 2005
1 parent 21feb5c commit 0155a37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/scsi_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0155a37

Please sign in to comment.