From a6bef350ed9a8802f72dc45023f5ec43ae199431 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 21 Jun 2019 13:06:04 -0700 Subject: [PATCH] panfrost: Fix unused variable warning Signed-off-by: Alyssa Rosenzweig --- 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); -- 2.30.2