summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_isr.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2017-02-03 22:18:03 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2017-02-03 22:18:03 +0100
commitad3efdb72cd921ec52ac94e82595a5d2e7a7b054 (patch)
tree82046c4821f443614dfd5e507f0edcda95e21f63 /drivers/scsi/qla2xxx/qla_isr.c
parentMerge remote-tracking branch 'mkp-scsi/4.10/scsi-fixes' into fixes (diff)
parentscsi: mpt3sas: Force request partial completion alignment (diff)
downloadlinux-ad3efdb72cd921ec52ac94e82595a5d2e7a7b054.tar.xz
linux-ad3efdb72cd921ec52ac94e82595a5d2e7a7b054.zip
Merge remote-tracking branch 'mkp-scsi/4.10/scsi-fixes' into fixes
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 54e1223b66d7..28ffafe473e9 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -3238,7 +3238,7 @@ qla2x00_free_irqs(scsi_qla_host_t *vha)
* from a probe failure context.
*/
if (!ha->rsp_q_map || !ha->rsp_q_map[0])
- return;
+ goto free_irqs;
rsp = ha->rsp_q_map[0];
if (ha->flags.msix_enabled) {
@@ -3258,6 +3258,7 @@ qla2x00_free_irqs(scsi_qla_host_t *vha)
free_irq(pci_irq_vector(ha->pdev, 0), rsp);
}
+free_irqs:
pci_free_irq_vectors(ha->pdev);
}