From: Alyssa Rosenzweig Date: Fri, 21 Jun 2019 20:06:04 +0000 (-0700) Subject: panfrost: Fix unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6bef350ed9a8802f72dc45023f5ec43ae199431;p=mesa.git panfrost: Fix unused variable warning Signed-off-by: Alyssa Rosenzweig --- 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);