aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2012-11-21 02:40:27 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-11-30 04:42:21 -0500
commit3aa28e42a5587362360074bd12ffe2e269920d3f (patch)
treecd769445f815875f96ac9673aa6e4c4827d87d9b /drivers/scsi
parent5b939038443fdb3db3591b8e92469641f49d12c4 (diff)
[SCSI] qla2xxx: Remove spurious taking of ha->vport_slock spinlock.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 214c0e9bdcdf..39044fc40194 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -1888,10 +1888,6 @@ qla2x00_init_rings(scsi_qla_host_t *vha)
1888 qla2x00_init_response_q_entries(rsp); 1888 qla2x00_init_response_q_entries(rsp);
1889 } 1889 }
1890 1890
1891 spin_lock(&ha->vport_slock);
1892
1893 spin_unlock(&ha->vport_slock);
1894
1895 ha->tgt.atio_ring_ptr = ha->tgt.atio_ring; 1891 ha->tgt.atio_ring_ptr = ha->tgt.atio_ring;
1896 ha->tgt.atio_ring_index = 0; 1892 ha->tgt.atio_ring_index = 0;
1897 /* Initialize ATIO queue entries */ 1893 /* Initialize ATIO queue entries */