Commit 0155a37e authored by Tejun Heo's avatar Tejun Heo Committed by James Bottomley

[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: default avatarTejun Heo <htejun@gmail.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 21feb5cc
...@@ -1870,7 +1870,6 @@ scsi_reset_provider(struct scsi_device *dev, int flag) ...@@ -1870,7 +1870,6 @@ scsi_reset_provider(struct scsi_device *dev, int flag)
rtn = FAILED; rtn = FAILED;
} }
scsi_delete_timer(scmd);
scsi_next_command(scmd); scsi_next_command(scmd);
return rtn; return rtn;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment