From 58c619c3d6dfb6bd70a3ff7b4c9ece970bc2a2ee Mon Sep 17 00:00:00 2001 From: Erico Nunes Date: Fri, 4 Feb 2022 20:38:11 +0100 Subject: [PATCH] lima: remove an unneeded lima_job_get assignment Reported by scan-build. Signed-off-by: Erico Nunes Reviewed-by: Vasily Khoruzhick Part-of: --- src/gallium/drivers/lima/lima_draw.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/lima/lima_draw.c b/src/gallium/drivers/lima/lima_draw.c index f1613a8d37a..5728cae7e79 100644 --- a/src/gallium/drivers/lima/lima_draw.c +++ b/src/gallium/drivers/lima/lima_draw.c @@ -1207,7 +1207,6 @@ lima_draw_vbo(struct pipe_context *pctx, if (job->draws > MAX_DRAWS_PER_JOB) { unsigned resolve = job->resolve; lima_do_job(job); - job = lima_job_get(ctx); /* Subsequent job will need to resolve the same buffers */ lima_update_job_wb(ctx, resolve); }