summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/set.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-02-28 13:40:12 -0800
committerKenneth Graunke <[email protected]>2014-03-06 20:55:34 -0800
commit378c6f2246d66254ce0f88cac6daf25b1c012a41 (patch)
treef0424ff38d3f8d807330716fede35466c280c12b /src/mesa/main/set.c
parent9ceee5f4be09702fc881c922b5ad489cd03c76f8 (diff)
mesa: Drop unused hash_table::mem_ctx field.
It's never used, and it's equivalent to ralloc_parent(ht) if you really need it. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/set.c')
-rw-r--r--src/mesa/main/set.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/set.c b/src/mesa/main/set.c
index dc3550c767c..989e5dece86 100644
--- a/src/mesa/main/set.c
+++ b/src/mesa/main/set.c
@@ -112,7 +112,6 @@ _mesa_set_create(void *mem_ctx,
if (ht == NULL)
return NULL;
- ht->mem_ctx = mem_ctx;
ht->size_index = 0;
ht->size = hash_sizes[ht->size_index].size;
ht->rehash = hash_sizes[ht->size_index].rehash;