diff options
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_texture.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_cache.c | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_texture.c b/src/gallium/drivers/freedreno/a6xx/fd6_texture.c index a48c4ee1ad0..0fa20e01e67 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_texture.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_texture.c @@ -151,7 +151,6 @@ fd6_sampler_state_delete(struct pipe_context *pctx, void *hwcso) struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); struct fd6_sampler_stateobj *samp = hwcso; - struct hash_entry *entry; hash_table_foreach(fd6_ctx->tex_cache, entry) { struct fd6_texture_state *state = entry->data; @@ -344,7 +343,6 @@ fd6_sampler_view_destroy(struct pipe_context *pctx, struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); struct fd6_pipe_sampler_view *view = fd6_pipe_sampler_view(_view); - struct hash_entry *entry; hash_table_foreach(fd6_ctx->tex_cache, entry) { struct fd6_texture_state *state = entry->data; @@ -508,7 +506,6 @@ fd6_texture_fini(struct pipe_context *pctx) { struct fd6_context *fd6_ctx = fd6_context(fd_context(pctx)); - struct hash_entry *entry; hash_table_foreach(fd6_ctx->tex_cache, entry) { fd6_texture_state_destroy(entry->data); } diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cache.c b/src/gallium/drivers/freedreno/ir3/ir3_cache.c index 05edeed4681..a198ef4c769 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_cache.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_cache.c @@ -76,7 +76,6 @@ struct ir3_cache * ir3_cache_create(const struct ir3_cache_funcs *funcs, void *d void ir3_cache_destroy(struct ir3_cache *cache) { /* _mesa_hash_table_destroy is so *almost* useful.. */ - struct hash_entry *entry; hash_table_foreach(cache->ht, entry) { cache->funcs->destroy_state(cache->data, entry->data); } @@ -117,7 +116,6 @@ ir3_cache_lookup(struct ir3_cache *cache, const struct ir3_cache_key *key, */ void ir3_cache_invalidate(struct ir3_cache *cache, void *stobj) { - struct hash_entry *entry; hash_table_foreach(cache->ht, entry) { const struct ir3_cache_key *key = entry->key; if ((key->fs == stobj) || (key->vs == stobj)) { |