summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/realloc.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-27 11:44:48 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-28 11:23:53 +0100
commit01557b0c6e723627427195bb33bdfe0b125c70b1 (patch)
treeecd3bdb408cecd25bf24c25adb51dafdddedbc3a /cpukit/libcsupport/src/realloc.c
parentbdbuf: Fix race condition with sync active flag (diff)
downloadrtems-01557b0c6e723627427195bb33bdfe0b125c70b1.tar.bz2
libcsupport: Delete malloc statistics
Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
Diffstat (limited to 'cpukit/libcsupport/src/realloc.c')
-rw-r--r--cpukit/libcsupport/src/realloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/realloc.c b/cpukit/libcsupport/src/realloc.c
index 2ca239d464..6efdfdfdb8 100644
--- a/cpukit/libcsupport/src/realloc.c
+++ b/cpukit/libcsupport/src/realloc.c
@@ -35,8 +35,6 @@ void *realloc(
uintptr_t old_size;
char *new_area;
- MSBUMP(realloc_calls, 1);
-
/*
* Do not attempt to allocate memory if in a critical section or ISR.
*/
@@ -77,8 +75,6 @@ void *realloc(
new_area = malloc( size );
- MSBUMP(malloc_calls, (uint32_t) -1); /* subtract off the malloc */
-
if ( !new_area ) {
return (void *) 0;
}