diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-05-17 18:09:50 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-20 10:50:11 -0400 |
commit | d4e3e04d789ba23027c66e176b10ac7477906948 (patch) | |
tree | e98c514c2b3505af6f0c0a2e48f697899735ff15 /drivers/scsi/qla2xxx/qla_os.c | |
parent | cb63067a772c0149184309a1f232d62c81a93673 (diff) |
[SCSI] qla2xxx: Consolidate firmware-dump handling across ISPs.
Simplify and centralise buffer allocation/deallocation, as
there's no point in having two memory request methods.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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; |