diff options
author | Eric Engestrom <eric.engestrom@intel.com> | 2019-06-22 15:29:03 +0100 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@intel.com> | 2019-07-31 09:41:05 +0100 |
commit | d470f1acced6d865dde1b9b0029685c0fe656bce (patch) | |
tree | 86fe595c220392c91e3aa72f54954335204d74a8 | |
parent | 84b8a5054093847a808020fe26a135cc6a99a6ec (diff) |
v3d: drop incorrect MAYBE_UNUSED
While at it, use that `screen` variable everywhere.
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | src/gallium/drivers/v3d/v3d_job.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |