Skip to contentSkip to conversation

remove superflous scsi_delete_timer()

PATCH New Christoph Hellwig 1 participant 1 message Nov 23, 2002 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove superflous scsi_delete_timer()

the first action performed by scsi_mlqueue_insert() is exactly that scsi_delete_timer()

drivers/scsi/scsi.c +0 -1
@@ -793,7 +776,6 @@
 			rtn = host->hostt->queuecommand(SCpnt, scsi_done);
 			spin_unlock_irqrestore(host->host_lock, flags);
 			if (rtn != 0) {
-				scsi_delete_timer(SCpnt);
 				scsi_mlqueue_insert(SCpnt, rtn == SCSI_MLQUEUE_DEVICE_BUSY ? rtn : SCSI_MLQUEUE_HOST_BUSY);
 				SCSI_LOG_MLQUEUE(3,
 				   printk("queuecommand : request rejected\n"));