qla_os.c vfree() checking cleanups.
Signed-off by: James Lamanna <[EMAIL PROTECTED]> Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> --- kj-domen/drivers/scsi/qla2xxx/qla_os.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/scsi/qla2xxx/qla_os.c~vfree-drivers_scsi_qla2xxx_qla_os drivers/scsi/qla2xxx/qla_os.c --- kj/drivers/scsi/qla2xxx/qla_os.c~vfree-drivers_scsi_qla2xxx_qla_os 2005-03-05 16:10:37.000000000 +0100 +++ kj-domen/drivers/scsi/qla2xxx/qla_os.c 2005-03-05 16:10:37.000000000 +0100 @@ -3119,8 +3119,7 @@ qla2x00_mem_free(scsi_qla_host_t *ha) if (ha->fw_dump) free_pages((unsigned long)ha->fw_dump, ha->fw_dump_order); - if (ha->fw_dump_buffer) - vfree(ha->fw_dump_buffer); + vfree(ha->fw_dump_buffer); ha->fw_dump = NULL; ha->fw_dump_reading = 0; _ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html