summaryrefslogtreecommitdiff
path: root/libgralloc
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-10-29 08:35:22 -0400
committerPatrick Scott <phanna@android.com>2009-10-29 08:35:22 -0400
commit5d43ba27db19553e9d36bd58819c7f534f851dda (patch)
tree1db0810160eee332bdbf1e4c14f778fda445f1f9 /libgralloc
parenta8eaa9a397383b776b5b65dc479502e70d567dcf (diff)
downloadmsm7k-5d43ba27db19553e9d36bd58819c7f534f851dda.tar.gz
Remove calls to dump_l.
This fails to compile without NDEBUG and the log statement is accomplishing the same thing.
Diffstat (limited to 'libgralloc')
-rw-r--r--libgralloc/allocator.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libgralloc/allocator.cpp b/libgralloc/allocator.cpp
index 4dad6a1..e7645b1 100644
--- a/libgralloc/allocator.cpp
+++ b/libgralloc/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);