Mesa (main): lima: remove an unneeded lima_job_get assignment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 11 22:03:20 UTC 2022


Module: Mesa
Branch: main
Commit: 58c619c3d6dfb6bd70a3ff7b4c9ece970bc2a2ee
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=58c619c3d6dfb6bd70a3ff7b4c9ece970bc2a2ee

Author: Erico Nunes <nunes.erico at gmail.com>
Date:   Fri Feb  4 20:38:11 2022 +0100

lima: remove an unneeded lima_job_get assignment

Reported by scan-build.

Signed-off-by: Erico Nunes <nunes.erico at gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14894>

---

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



More information about the mesa-commit mailing list