mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 18:30:09 +01:00
panfrost: drop needless assign
We are overwriting l right after the conditional block, so let's just drop this for simplicity. CID: 1529404 Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31767>
This commit is contained in:
parent
8b619b2360
commit
a62e80ce11
1 changed files with 1 additions and 3 deletions
|
|
@ -1251,10 +1251,8 @@ mir_ra(compiler_context *ctx)
|
|||
mir_squeeze_index(ctx);
|
||||
mir_invalidate_liveness(ctx);
|
||||
|
||||
if (l) {
|
||||
if (l)
|
||||
lcra_free(l);
|
||||
l = NULL;
|
||||
}
|
||||
|
||||
l = allocate_registers(ctx, &spilled);
|
||||
} while (spilled && ((iter_count--) > 0));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue