From: jlamanna@xxxxxxxxx qla_os.c vfree() checking cleanups. Signed-off by: James Lamanna <jlamanna@xxxxxxxxx> Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx> --- qla_os.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: quilt/drivers/scsi/qla2xxx/qla_os.c =================================================================== --- quilt.orig/drivers/scsi/qla2xxx/qla_os.c +++ quilt/drivers/scsi/qla2xxx/qla_os.c @@ -1855,8 +1855,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; -- - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html