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>
This commit is contained in:
Eric Engestrom 2019-06-22 15:29:03 +01:00
parent 84b8a50540
commit d470f1acce
1 changed files with 2 additions and 2 deletions

View File

@ -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);