From fca4ecbdc440337b3c257b38c2f4cc8d0ca0286c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 3 Jan 2012 23:26:15 -0800 Subject: [SCSI] isci: kill isci_port->status It only tracks whether the port is stopping in order to gate new devices being discovered while the port is stopping. However, since the check and subsequent handling is unlocked there is nothing to stop the port from going down immediately after the check. Driver is already prepared to handle devices arriving on stale ports, and those will be cleaned up by an eventual ->lldd_dev_gone() notification. Signed-off-by: Dan Williams Signed-off-by: James Bottomley --- drivers/scsi/isci/remote_device.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/scsi/isci/remote_device.c') diff --git a/drivers/scsi/isci/remote_device.c b/drivers/scsi/isci/remote_device.c index cff684fc1ef..108238d4510 100644 --- a/drivers/scsi/isci/remote_device.c +++ b/drivers/scsi/isci/remote_device.c @@ -1394,10 +1394,6 @@ int isci_remote_device_found(struct domain_device *dev) if (!isci_port) return -ENODEV; - if ((isci_stopping == isci_port_get_state(isci_port)) || - (isci_stopped == isci_port_get_state(isci_port))) - return -ENODEV; - isci_device = isci_remote_device_alloc(isci_host, isci_port); if (!isci_device) return -ENODEV; -- cgit v1.2.3-70-g09d2