summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc4/vc4_qir_live_variables.c
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2018-10-20 18:00:08 +0100
committerEric Engestrom <eric.engestrom@intel.com>2018-10-25 12:43:18 +0100
commitbb84fa146f2252f22999205a2904d8a948bffd3b (patch)
tree2e4773252d67da46590ec4a545fc10f6125043a9 /src/gallium/drivers/vc4/vc4_qir_live_variables.c
parent3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff)
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir_live_variables.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir_live_variables.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir_live_variables.c b/src/gallium/drivers/vc4/vc4_qir_live_variables.c
index 7108b3ee9b6..5629ce044d9 100644
--- a/src/gallium/drivers/vc4/vc4_qir_live_variables.c
+++ b/src/gallium/drivers/vc4/vc4_qir_live_variables.c
@@ -173,8 +173,6 @@ qir_setup_def(struct vc4_compile *c, struct qblock *block, int ip,
static void
sf_state_clear(struct hash_table *partial_update_ht)
{
- struct hash_entry *entry;
-
hash_table_foreach(partial_update_ht, entry) {
struct partial_update_state *state = entry->data;