diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index f4f535536952..642e976083e8 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2434,6 +2434,10 @@ qla2x00_mem_free(struct qla_hw_data *ha) | |||
2434 | vfree(ha->fw_dump); | 2434 | vfree(ha->fw_dump); |
2435 | } | 2435 | } |
2436 | 2436 | ||
2437 | if (ha->xgmac_data) | ||
2438 | dma_free_coherent(&ha->pdev->dev, XGMAC_DATA_SIZE, | ||
2439 | ha->xgmac_data, ha->xgmac_data_dma); | ||
2440 | |||
2437 | if (ha->sns_cmd) | 2441 | if (ha->sns_cmd) |
2438 | dma_free_coherent(&ha->pdev->dev, sizeof(struct sns_cmd_pkt), | 2442 | dma_free_coherent(&ha->pdev->dev, sizeof(struct sns_cmd_pkt), |
2439 | ha->sns_cmd, ha->sns_cmd_dma); | 2443 | ha->sns_cmd, ha->sns_cmd_dma); |