diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-03-03 21:01:43 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 06:55:29 -0400 |
commit | 1a38045ba88ed3bee6c57444670fb639c8b61be7 (patch) | |
tree | 9a1fc0caf72e2cd8f236e1675e2918fc6498b5c9 /drivers/scsi/isci/port.c | |
parent | d9c37390c4f02153188a64a7a89fa6798dc3ffc2 (diff) |
isci: replace remote_device_lock with scic_lock
The remote_device_lock is currently used to protect a controller global
resource (RNCs), but the remote_device_lock is per-port.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/port.c')
-rw-r--r-- | drivers/scsi/isci/port.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index 30da3ec703e3..a5b2565ac5af 100644 --- a/drivers/scsi/isci/port.c +++ b/drivers/scsi/isci/port.c | |||
@@ -94,7 +94,6 @@ void isci_port_init( | |||
94 | 94 | ||
95 | INIT_LIST_HEAD(&isci_port->remote_dev_list); | 95 | INIT_LIST_HEAD(&isci_port->remote_dev_list); |
96 | INIT_LIST_HEAD(&isci_port->domain_dev_list); | 96 | INIT_LIST_HEAD(&isci_port->domain_dev_list); |
97 | spin_lock_init(&isci_port->remote_device_lock); | ||
98 | spin_lock_init(&isci_port->state_lock); | 97 | spin_lock_init(&isci_port->state_lock); |
99 | init_completion(&isci_port->start_complete); | 98 | init_completion(&isci_port->start_complete); |
100 | isci_port->isci_host = isci_host; | 99 | isci_port->isci_host = isci_host; |