From: Tejun Heo Date: Fri, 13 May 2005 15:46:13 +0000 (+0900) Subject: [SCSI] remove unnecessary scsi_delete_timer() call in scsi_reset_provider() X-Git-Tag: v2.6.13-rc1~90^2~583^2~62^2^2~27^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0155a37ea5459f5bf1113c6fa519f943ef77d730;p=linux-2.6 [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 Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 1a135f38e7..f5195cda5e 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; }