summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/port.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-01-04 11:26:15 +0400
committerJames Bottomley <JBottomley@Parallels.com>2012-03-01 01:11:19 +0400
commitfca4ecbdc440337b3c257b38c2f4cc8d0ca0286c (patch)
tree4b1af31866accd76f16056a842c5a25de182e838 /drivers/scsi/isci/port.h
parentc132f692085ac624d7c8123df781846c8dcb3166 (diff)
downloadlinux-fca4ecbdc440337b3c257b38c2f4cc8d0ca0286c.tar.xz
[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 <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/isci/port.h')
-rw-r--r--drivers/scsi/isci/port.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/isci/port.h b/drivers/scsi/isci/port.h
index 6b42e84b6955..265972939e3a 100644
--- a/drivers/scsi/isci/port.h
+++ b/drivers/scsi/isci/port.h
@@ -95,10 +95,8 @@ enum isci_status {
* @timer: timeout start/stop operations
*/
struct isci_port {
- enum isci_status status;
struct isci_host *isci_host;
struct list_head remote_dev_list;
- spinlock_t state_lock;
struct list_head domain_dev_list;
struct completion hard_reset_complete;
enum sci_status hard_reset_status;
@@ -294,9 +292,6 @@ void sci_port_get_attached_sas_address(
struct isci_port *iport,
struct sci_sas_address *sas_address);
-enum isci_status isci_port_get_state(
- struct isci_port *isci_port);
-
void isci_port_formed(struct asd_sas_phy *);
void isci_port_deformed(struct asd_sas_phy *);