From fd03dd203f19301520d16de58552cc2fec5e6115 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 19 Jul 2010 18:08:53 +0200 Subject: util: remove the dummy field in mempool It should allocate less memory now. --- src/gallium/auxiliary/util/u_mempool.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/gallium/auxiliary/util/u_mempool.h') diff --git a/src/gallium/auxiliary/util/u_mempool.h b/src/gallium/auxiliary/util/u_mempool.h index c96f9b696b5..a5b5d6a9b7c 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. */ }; -- cgit v1.2.3