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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user