diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index b6adc8a9d4c8..1052528c3109 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2068,15 +2068,10 @@ qla2x00_mem_free(scsi_qla_host_t *ha) | |||
2068 | } | 2068 | } |
2069 | INIT_LIST_HEAD(&ha->fcports); | 2069 | INIT_LIST_HEAD(&ha->fcports); |
2070 | 2070 | ||
2071 | if (ha->fw_dump) | 2071 | vfree(ha->fw_dump); |
2072 | free_pages((unsigned long)ha->fw_dump, ha->fw_dump_order); | ||
2073 | |||
2074 | vfree(ha->fw_dump24); | ||
2075 | |||
2076 | vfree(ha->fw_dump_buffer); | 2072 | vfree(ha->fw_dump_buffer); |
2077 | 2073 | ||
2078 | ha->fw_dump = NULL; | 2074 | ha->fw_dump = NULL; |
2079 | ha->fw_dump24 = NULL; | ||
2080 | ha->fw_dumped = 0; | 2075 | ha->fw_dumped = 0; |
2081 | ha->fw_dump_reading = 0; | 2076 | ha->fw_dump_reading = 0; |
2082 | ha->fw_dump_buffer = NULL; | 2077 | ha->fw_dump_buffer = NULL; |