diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:09 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | e27902a261361e8a7980db14138ef13753db196d (patch) | |
tree | 021b6638314baf37073766f1092e2be736da75aa /src/gallium/drivers/freedreno/freedreno_batch.c | |
parent | bb84fa146f2252f22999205a2904d8a948bffd3b (diff) |
util: use C99 declaration in the for-loop set_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_batch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.c b/src/gallium/drivers/freedreno/freedreno_batch.c index 487176cc638..6c05fbaa74d 100644 --- a/src/gallium/drivers/freedreno/freedreno_batch.c +++ b/src/gallium/drivers/freedreno/freedreno_batch.c @@ -182,8 +182,6 @@ batch_flush_reset_dependencies(struct fd_batch *batch, bool flush) static void batch_reset_resources_locked(struct fd_batch *batch) { - struct set_entry *entry; - pipe_mutex_assert_locked(batch->ctx->screen->lock); set_foreach(batch->resources, entry) { |