summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xf86drmHash.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xf86drmHash.c b/xf86drmHash.c
index 467498cc9..891b73263 100644
--- a/xf86drmHash.c
+++ b/xf86drmHash.c
@@ -110,12 +110,7 @@ drm_public void *drmHashCreate(void)
table = drmMalloc(sizeof(*table));
if (!table) return NULL;
table->magic = HASH_MAGIC;
- table->entries = 0;
- table->hits = 0;
- table->partials = 0;
- table->misses = 0;
- for (i = 0; i < HASH_SIZE; i++) table->buckets[i] = NULL;
return table;
}