Mesa (thalloc): thalloc: Remove reference function
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Wed Jan 19 01:30:40 UTC 2011
Module: Mesa
Branch: thalloc
Commit: ea25084a1004fb70f2927117c7a2402058f3dcb7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea25084a1004fb70f2927117c7a2402058f3dcb7
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Wed Jan 19 02:28:57 2011 +0100
thalloc: Remove reference function
Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
---
src/thalloc/talloc.h | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/thalloc/talloc.h b/src/thalloc/talloc.h
index a295eb0..3cdc89f 100644
--- a/src/thalloc/talloc.h
+++ b/src/thalloc/talloc.h
@@ -5,7 +5,6 @@
#ifndef _TALLOC_H_
#define _TALLOC_H_
-#include <assert.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -40,12 +39,6 @@ talloc_realloc_size(const void *ctx, void *ptr, size_t size) {
return ret;
}
-static inline void *
-talloc_reference(const void *ctx, const void *ptr) {
- assert(0);
- return NULL;
-}
-
#define talloc_set_destructor(_ctx, _des) h_set_destructor(_ctx, _des)
static inline void *
More information about the mesa-commit
mailing list