util: Remove size from linear_parent creation

None of the callsites took advantage of this, so remove
the feature.  This will help to a next change that will
add an opaque type to represent a linear parent.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25280>
This commit is contained in:
Caio Oliveira
2023-09-17 23:11:58 -07:00
committed by Marge Bot
parent 4519421db5
commit aec516ead6
10 changed files with 18 additions and 44 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ dead_code_local_basic_block(ir_instruction *first,
bool progress = false;
void *ctx = ralloc_context(NULL);
void *lin_ctx = linear_alloc_parent(ctx, 0);
void *lin_ctx = linear_alloc_parent(ctx);
/* Safe looping, since process_assignment */
for (ir = first, ir_next = (ir_instruction *)first->next;;