lima: remove an unneeded lima_job_get assignment

Reported by scan-build.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14894>
This commit is contained in:
Erico Nunes
2022-02-04 20:38:11 +01:00
committed by Marge Bot
parent 116f01c853
commit 58c619c3d6
-1
View File
@@ -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);
}