panfrost: Fix unused variable warning
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 21 Jun 2019 20:06:04 +0000 (13:06 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 21 Jun 2019 20:06:49 +0000 (13:06 -0700)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_job.c

index 88bed457da9bc3ef63f5bad42fb88d378f826779..22f0f492b5d84a81b1d92285516870fdafbff499 100644 (file)
@@ -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);