[SCSI] qla2xxx: Remove spurious taking of ha->vport_slock spinlock.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 21 Nov 2012 07:40:27 +0000 (02:40 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 30 Nov 2012 09:42:21 +0000 (09:42 +0000)
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>
drivers/scsi/qla2xxx/qla_init.c

index 214c0e9..39044fc 100644 (file)
@@ -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 */