Mesa (master): panfrost: Fix unused variable warning

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 21 20:07:02 UTC 2019


Module: Mesa
Branch: master
Commit: a6bef350ed9a8802f72dc45023f5ec43ae199431
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6bef350ed9a8802f72dc45023f5ec43ae199431

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Jun 21 13:06:04 2019 -0700

panfrost: Fix unused variable warning

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>

---

 src/gallium/drivers/panfrost/pan_job.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c
index 88bed457da9..22f0f492b5d 100644
--- a/src/gallium/drivers/panfrost/pan_job.c
+++ b/src/gallium/drivers/panfrost/pan_job.c
@@ -156,8 +156,6 @@ panfrost_flush_jobs_writing_resource(struct panfrost_context *panfrost,
 void
 panfrost_job_submit(struct panfrost_context *ctx, struct panfrost_job *job)
 {
-        struct pipe_context *gallium = (struct pipe_context *) ctx;
-        struct panfrost_screen *screen = pan_screen(gallium->screen);
         int ret;
 
         panfrost_scoreboard_link_batch(job);




More information about the mesa-commit mailing list