summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-21 13:06:04 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-21 13:06:49 -0700
commita6bef350ed9a8802f72dc45023f5ec43ae199431 (patch)
treea62408eedeb3dc900fcf49b99a892786cb257606
parent5f81669d880bfc9f3a85d5231d4629d95332a488 (diff)
panfrost: Fix unused variable warning
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/pan_job.c2
1 files changed, 0 insertions, 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);