Skip to content

Commit

Permalink
[SCSI] qla2xxx: Remove spurious taking of ha->vport_slock spinlock.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chad Dupuis authored and James Bottomley committed Nov 30, 2012
1 parent 5b93903 commit 3aa28e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/scsi/qla2xxx/qla_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3aa28e4

Please sign in to comment.