vc4: Fix unused variable warning.
authorEric Anholt <eric@anholt.net>
Mon, 29 Oct 2018 23:05:18 +0000 (16:05 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Oct 2018 17:46:52 +0000 (10:46 -0700)
Fixes: bb84fa146f22 ("util: use C99 declaration in the for-loop hash_table_foreach() macro")
src/gallium/drivers/vc4/vc4_program.c

index 4896833177a941c2d28e5fb9afb7a352eb05cb83..bc9bd76ae9503de9b401adb79f7ba050d11989e9 100644 (file)
@@ -3031,7 +3031,6 @@ vc4_program_fini(struct pipe_context *pctx)
 {
         struct vc4_context *vc4 = vc4_context(pctx);
 
-        struct hash_entry *entry;
         hash_table_foreach(vc4->fs_cache, entry) {
                 struct vc4_compiled_shader *shader = entry->data;
                 vc4_bo_unreference(&shader->bo);