summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_mempool.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-07-19 18:08:53 +0200
committerMarek Olšák <maraeo@gmail.com>2010-07-19 21:05:47 +0200
commitfd03dd203f19301520d16de58552cc2fec5e6115 (patch)
treeb0eb1ab23c3b376f1b73d9b78a86dd6a284fc8c3 /src/gallium/auxiliary/util/u_mempool.h
parent95ca22001a4d72325f963662a635d2b45feaf7b5 (diff)
util: remove the dummy field in mempool
It should allocate less memory now.
Diffstat (limited to 'src/gallium/auxiliary/util/u_mempool.h')
-rw-r--r--src/gallium/auxiliary/util/u_mempool.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/util/u_mempool.h b/src/gallium/auxiliary/util/u_mempool.h
index c96f9b696b..a5b5d6a9b7 100644
--- a/src/gallium/auxiliary/util/u_mempool.h
+++ b/src/gallium/auxiliary/util/u_mempool.h
@@ -43,16 +43,11 @@ enum util_mempool_threading {
UTIL_MEMPOOL_MULTITHREADED = TRUE
};
-struct util_mempool_page_body { char dummy; };
-
/* The page is an array of blocks (allocations). */
struct util_mempool_page {
/* The header (linked-list pointers). */
struct util_mempool_page *prev, *next;
- /* The page begins here. */
- struct util_mempool_page_body body;
-
/* Memory after the last member is dedicated to the page itself.
* The allocated size is always larger than this structure. */
};