diff options
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 3cafbef40737..c8d0b121560d 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -1818,14 +1818,14 @@ qla2x00_init_rings(scsi_qla_host_t *vha) | |||
1818 | qla2x00_init_response_q_entries(rsp); | 1818 | qla2x00_init_response_q_entries(rsp); |
1819 | } | 1819 | } |
1820 | 1820 | ||
1821 | spin_lock_irqsave(&ha->vport_slock, flags); | 1821 | spin_lock(&ha->vport_slock); |
1822 | /* Clear RSCN queue. */ | 1822 | /* Clear RSCN queue. */ |
1823 | list_for_each_entry(vp, &ha->vp_list, list) { | 1823 | list_for_each_entry(vp, &ha->vp_list, list) { |
1824 | vp->rscn_in_ptr = 0; | 1824 | vp->rscn_in_ptr = 0; |
1825 | vp->rscn_out_ptr = 0; | 1825 | vp->rscn_out_ptr = 0; |
1826 | } | 1826 | } |
1827 | 1827 | ||
1828 | spin_unlock_irqrestore(&ha->vport_slock, flags); | 1828 | spin_unlock(&ha->vport_slock); |
1829 | 1829 | ||
1830 | ha->isp_ops->config_rings(vha); | 1830 | ha->isp_ops->config_rings(vha); |
1831 | 1831 | ||