diff options
author | Eric Engestrom <[email protected]> | 2018-10-20 18:00:08 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-10-25 12:43:18 +0100 |
commit | bb84fa146f2252f22999205a2904d8a948bffd3b (patch) | |
tree | 2e4773252d67da46590ec4a545fc10f6125043a9 /src/mesa/drivers/dri/i965/brw_performance_query.c | |
parent | 3d261cf77b35c56cc575ce9bb7909d2f8d920233 (diff) |
util: use C99 declaration in the for-loop hash_table_foreach() macro
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_performance_query.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_performance_query.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c b/src/mesa/drivers/dri/i965/brw_performance_query.c index ff9272999d1..10e3d024f17 100644 --- a/src/mesa/drivers/dri/i965/brw_performance_query.c +++ b/src/mesa/drivers/dri/i965/brw_performance_query.c @@ -1848,7 +1848,6 @@ static bool kernel_has_dynamic_config_support(struct brw_context *brw) { __DRIscreen *screen = brw->screen->driScrnPriv; - struct hash_entry *entry; hash_table_foreach(brw->perfquery.oa_metrics_table, entry) { struct brw_perf_query_info *query = entry->data; @@ -1872,7 +1871,6 @@ static void init_oa_configs(struct brw_context *brw) { __DRIscreen *screen = brw->screen->driScrnPriv; - struct hash_entry *entry; hash_table_foreach(brw->perfquery.oa_metrics_table, entry) { const struct brw_perf_query_info *query = entry->data; |