summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-12-15 17:22:56 -0800
committerMathias Agopian <mathias@google.com>2009-12-15 17:22:56 -0800
commitee4e57e94903f497c936aa23e474e26ba74182c5 (patch)
tree7b58fd9d7e3a1979a20b21e638c2fa7c7026fc93 /modules/gralloc
parentf96b2064d7753af7ab75f05eff9559f401e1a4ad (diff)
downloadhardware_libhardware-ee4e57e94903f497c936aa23e474e26ba74182c5.zip
hardware_libhardware-ee4e57e94903f497c936aa23e474e26ba74182c5.tar.gz
hardware_libhardware-ee4e57e94903f497c936aa23e474e26ba74182c5.tar.bz2
remove unused code
Diffstat (limited to 'modules/gralloc')
-rw-r--r--modules/gralloc/gralloc_priv.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/gralloc/gralloc_priv.h b/modules/gralloc/gralloc_priv.h
index 5d7db26..75bcd1d 100644
--- a/modules/gralloc/gralloc_priv.h
+++ b/modules/gralloc/gralloc_priv.h
@@ -95,10 +95,6 @@ struct private_handle_t {
magic = 0;
}
- bool usesPhysicallyContiguousMemory() {
- return false;
- }
-
static int validate(const native_handle* h) {
const private_handle_t* hnd = (const private_handle_t*)h;
if (!h || h->version != sizeof(native_handle) ||
@@ -110,13 +106,6 @@ struct private_handle_t {
}
return 0;
}
-
- static private_handle_t* dynamicCast(const native_handle* in) {
- if (validate(in) == 0) {
- return (private_handle_t*) in;
- }
- return NULL;
- }
#endif
};