From 3aa28e42a5587362360074bd12ffe2e269920d3f Mon Sep 17 00:00:00 2001 From: Chad Dupuis Date: Wed, 21 Nov 2012 02:40:27 -0500 Subject: [PATCH] [SCSI] qla2xxx: Remove spurious taking of ha->vport_slock spinlock. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap Signed-off-by: James Bottomley --- drivers/scsi/qla2xxx/qla_init.c | 4 ---- 1 file changed, 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) qla2x00_init_response_q_entries(rsp); } - spin_lock(&ha->vport_slock); - - spin_unlock(&ha->vport_slock); - ha->tgt.atio_ring_ptr = ha->tgt.atio_ring; ha->tgt.atio_ring_index = 0; /* Initialize ATIO queue entries */ -- 2.39.5