Commit bf5ea6fb authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Martin K. Petersen

scsi: qla4xxx: drop redundant init_completion

The redundant init_completion() here seems to be a cut&past error as
struct scsi_qla_host only has 4 completion elements to initialize, thus
the duplicate init_completion(disable_acb_comp) is simply removed.
Signed-off-by: default avatarNicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent a0658632
...@@ -8664,7 +8664,6 @@ static int qla4xxx_probe_adapter(struct pci_dev *pdev, ...@@ -8664,7 +8664,6 @@ static int qla4xxx_probe_adapter(struct pci_dev *pdev,
init_completion(&ha->disable_acb_comp); init_completion(&ha->disable_acb_comp);
init_completion(&ha->idc_comp); init_completion(&ha->idc_comp);
init_completion(&ha->link_up_comp); init_completion(&ha->link_up_comp);
init_completion(&ha->disable_acb_comp);
spin_lock_init(&ha->hardware_lock); spin_lock_init(&ha->hardware_lock);
spin_lock_init(&ha->work_lock); spin_lock_init(&ha->work_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment