summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-10-29 08:33:42 -0400
committerPatrick Scott <phanna@android.com>2009-10-29 08:33:42 -0400
commitbaf99300f77399b6a3e75716b3592895a3bca969 (patch)
tree812da31fef00b7d18aa47aad59db41cfb817c072 /modules/gralloc
parent4016d6bc35b36277574e0cfb8dc47c8559fec079 (diff)
downloadhardware_libhardware-baf99300f77399b6a3e75716b3592895a3bca969.zip
hardware_libhardware-baf99300f77399b6a3e75716b3592895a3bca969.tar.gz
hardware_libhardware-baf99300f77399b6a3e75716b3592895a3bca969.tar.bz2
Remove call to dump_l.
This fail to compile without NDEBUG and the following log statement does something similar.
Diffstat (limited to 'modules/gralloc')
-rw-r--r--modules/gralloc/allocator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/gralloc/allocator.cpp b/modules/gralloc/allocator.cpp
index 4dad6a1..e7645b1 100644
--- a/modules/gralloc/allocator.cpp
+++ b/modules/gralloc/allocator.cpp
@@ -153,11 +153,6 @@ SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start)
cur = n;
} while (cur && cur->free);
- #ifndef NDEBUG
- if (!freed->free) {
- dump_l("dealloc (!freed->free)");
- }
- #endif
LOG_FATAL_IF(!freed->free,
"freed block at offset 0x%08lX of size 0x%08lX is not free!",
freed->start * kMemoryAlign, freed->size * kMemoryAlign);