util: use C99 declaration in the for-loop hash_table_foreach() macro
[mesa.git] / src / amd / common / ac_nir_to_llvm.c
index ee75e2890dd4fd300289b572f9ada43f0f25a0c4..5ab81987d08d04f2c937caa497662f2ed0631479 100644 (file)
@@ -3635,7 +3635,6 @@ static void visit_post_phi(struct ac_nir_context *ctx,
 
 static void phi_post_pass(struct ac_nir_context *ctx)
 {
-       struct hash_entry *entry;
        hash_table_foreach(ctx->phis, entry) {
                visit_post_phi(ctx, (nir_phi_instr*)entry->key,
                               (LLVMValueRef)entry->data);