From e27902a261361e8a7980db14138ef13753db196d Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 20 Oct 2018 18:00:09 +0100 Subject: util: use C99 declaration in the for-loop set_foreach() macro Signed-off-by: Eric Engestrom Reviewed-by: Timothy Arceri --- src/gallium/drivers/freedreno/freedreno_batch.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/freedreno/freedreno_batch.c') 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) { -- cgit v1.2.3