vc4: Fix unused variable warning.

Fixes: bb84fa146f ("util: use C99 declaration in the for-loop hash_table_foreach() macro")
This commit is contained in:
Eric Anholt
2018-10-29 16:05:18 -07:00
parent cc54e1acf9
commit 68657d76b9

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