From: Eric Engestrom Date: Sat, 22 Jun 2019 14:29:03 +0000 (+0100) Subject: v3d: drop incorrect MAYBE_UNUSED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d470f1acced6d865dde1b9b0029685c0fe656bce;p=mesa.git v3d: drop incorrect MAYBE_UNUSED While at it, use that `screen` variable everywhere. Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- diff --git a/src/gallium/drivers/v3d/v3d_job.c b/src/gallium/drivers/v3d/v3d_job.c index 9892e0ecff2..3226059161a 100644 --- a/src/gallium/drivers/v3d/v3d_job.c +++ b/src/gallium/drivers/v3d/v3d_job.c @@ -435,12 +435,12 @@ v3d_clif_dump(struct v3d_context *v3d, struct v3d_job *job) void v3d_job_submit(struct v3d_context *v3d, struct v3d_job *job) { - MAYBE_UNUSED struct v3d_screen *screen = v3d->screen; + struct v3d_screen *screen = v3d->screen; if (!job->needs_flush) goto done; - if (v3d->screen->devinfo.ver >= 41) + if (screen->devinfo.ver >= 41) v3d41_emit_rcl(job); else v3d33_emit_rcl(job);