[AGPGART] Remove pointless assignment.
No point in clearing local pointers then returning. Also fix up some CodingStyle nits. Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
parent
87a17f31a3
commit
7707ea3b78
@ -129,13 +129,13 @@ static int ati_create_gatt_pages(int nr_tables)
|
||||
i--;
|
||||
}
|
||||
kfree(tables);
|
||||
tables = NULL;
|
||||
retval = -ENOMEM;
|
||||
break;
|
||||
}
|
||||
tables[i] = entry;
|
||||
retval = ati_create_page_map(entry);
|
||||
if (retval != 0) break;
|
||||
if (retval != 0)
|
||||
break;
|
||||
}
|
||||
ati_generic_private.num_tables = nr_tables;
|
||||
ati_generic_private.gatt_pages = tables;
|
||||
|
Loading…
Reference in New Issue
Block a user