patch-2.2.12 linux/drivers/scsi/aha152x.c
Next file: linux/drivers/scsi/hosts.c
Previous file: linux/drivers/scsi/Config.in
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Aug 25 17:29:48 1999
- Orig file:
v2.2.11/linux/drivers/scsi/aha152x.c
- Orig date:
Mon Aug 9 16:05:56 1999
diff -u --recursive --new-file v2.2.11/linux/drivers/scsi/aha152x.c linux/drivers/scsi/aha152x.c
@@ -1394,9 +1394,7 @@
if (ptr && !ptr->device->soft_reset) {
ptr->host_scribble = NULL;
ptr->result = DID_RESET << 16;
- spin_lock_irqsave(&io_request_lock, flags);
ptr->scsi_done(CURRENT_SC);
- spin_unlock_irqrestore(&io_request_lock, flags);
CURRENT_SC = NULL;
}
save_flags(flags);
@@ -1414,9 +1412,7 @@
ptr->host_scribble = NULL;
ptr->result = DID_RESET << 16;
- spin_lock_irqsave(&io_request_lock, flags);
ptr->scsi_done(ptr);
- spin_unlock_irqrestore(&io_request_lock, flags);
ptr = next;
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)