patch-2.3.15 linux/drivers/scsi/aha152x.c

Next file: linux/drivers/scsi/aha1542.c
Previous file: linux/drivers/scsi/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/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);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)