From: Kenneth Graunke Date: Thu, 8 Nov 2018 06:07:08 +0000 (-0800) Subject: iris: tidy more warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9511b89ef91fc4fabe1d8e3a21e964f419e2a483;p=mesa.git iris: tidy more warnings --- diff --git a/src/gallium/drivers/iris/iris_resolve.c b/src/gallium/drivers/iris/iris_resolve.c index 15e89fac0d9..06f44c022b9 100644 --- a/src/gallium/drivers/iris/iris_resolve.c +++ b/src/gallium/drivers/iris/iris_resolve.c @@ -153,11 +153,9 @@ iris_postdraw_update_resolve_tracking(struct iris_context *ice, void iris_cache_sets_clear(struct iris_batch *batch) { - struct hash_entry *render_entry; hash_table_foreach(batch->cache.render, render_entry) _mesa_hash_table_remove(batch->cache.render, render_entry); - struct set_entry *depth_entry; set_foreach(batch->cache.depth, depth_entry) _mesa_set_remove(batch->cache.depth, depth_entry); }