diff options
author | Christian Gmeiner <[email protected]> | 2019-10-20 07:38:03 +0200 |
---|---|---|
committer | Christian Gmeiner <[email protected]> | 2019-10-20 08:28:18 +0200 |
commit | f834656a41698d3a72be7be67ea2f998dd12f75f (patch) | |
tree | cb4329679acda6223009f05710e2627f4ddb2c4b /src/gallium/drivers/etnaviv/etnaviv_context.c | |
parent | d8741ad251d65b7cf2aa019ed5d0713a264bc941 (diff) |
etnaviv: fix compile warnings
Fixes: e5cc66dfad0 ("etnaviv: Rework locking")
Fixes: 1456aa61cc5 ("etnaviv: Rework resource status tracking")
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_context.c')
-rw-r--r-- | src/gallium/drivers/etnaviv/etnaviv_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_context.c b/src/gallium/drivers/etnaviv/etnaviv_context.c index 367f31f2e9b..5fdc77699ee 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_context.c +++ b/src/gallium/drivers/etnaviv/etnaviv_context.c @@ -61,7 +61,6 @@ static void etna_context_destroy(struct pipe_context *pctx) { struct etna_context *ctx = etna_context(pctx); - struct etna_screen *screen = ctx->screen; mtx_lock(&ctx->lock); if (ctx->used_resources_read) { @@ -434,7 +433,6 @@ etna_flush(struct pipe_context *pctx, struct pipe_fence_handle **fence, enum pipe_flush_flags flags) { struct etna_context *ctx = etna_context(pctx); - struct etna_screen *screen = ctx->screen; int out_fence_fd = -1; mtx_lock(&ctx->lock); |