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:
Erik Faye-Lund 2024-10-16 13:07:16 +02:00 committed by Marge Bot
parent 8b619b2360
commit a62e80ce11

View file

@ -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));