summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/free.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-30 15:36:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-30 15:36:48 +0000
commit7c658feb2e840582f2564d72c477e7ea0c7d3f76 (patch)
tree5f8c825064e8d5c12c9a9ac7ab6937e38e0850e6 /cpukit/libcsupport/src/free.c
parent2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-7c658feb2e840582f2564d72c477e7ea0c7d3f76.tar.bz2
2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1472/cpukit * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, libcsupport/src/free.c, libcsupport/src/malloc.c, libcsupport/src/malloc_initialize.c, libcsupport/src/realloc.c, libcsupport/src/rtems_memalign.c: Remove malloc boundary code. It has not been used since before 4.6 and is bitrotted. * libcsupport/src/malloc_boundary.c: Removed.
Diffstat (limited to 'cpukit/libcsupport/src/free.c')
-rw-r--r--cpukit/libcsupport/src/free.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/cpukit/libcsupport/src/free.c b/cpukit/libcsupport/src/free.c
index c4725a5df7..c2dea1c361 100644
--- a/cpukit/libcsupport/src/free.c
+++ b/cpukit/libcsupport/src/free.c
@@ -35,21 +35,12 @@ void free(
/*
* Do not attempt to free memory if in a critical section or ISR.
*/
-
if ( _System_state_Is_up(_System_state_Get()) &&
!malloc_is_system_state_OK() ) {
malloc_deferred_free(ptr);
return;
}
- #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS)
- /*
- * If configured, check the boundary area
- */
- if ( rtems_malloc_boundary_helpers )
- (*rtems_malloc_boundary_helpers->at_free)(ptr);
- #endif
-
/*
* If configured, update the statistics
*/