[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>
This commit is contained in:
Родитель
21feb5ccd5
Коммит
0155a37ea5
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче