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

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)