提交 0155a37e 编写于 作者: T Tejun Heo 提交者: 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: NTejun Heo <htejun@gmail.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 21feb5cc
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册