From 7c658feb2e840582f2564d72c477e7ea0c7d3f76 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 30 Jun 2010 15:36:48 +0000 Subject: 2010-06-30 Joel Sherrill 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. --- cpukit/libcsupport/src/malloc.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'cpukit/libcsupport/src/malloc.c') diff --git a/cpukit/libcsupport/src/malloc.c b/cpukit/libcsupport/src/malloc.c index ba5c8c0dcf..cf0fd158b4 100644 --- a/cpukit/libcsupport/src/malloc.c +++ b/cpukit/libcsupport/src/malloc.c @@ -55,15 +55,6 @@ void *malloc( _Protected_heap_Walk( RTEMS_Malloc_Heap, 0, false ); #endif - #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS) - /* - * If the support for a boundary area at the end of the heap - * block allocated is turned on, then adjust the size. - */ - if (rtems_malloc_boundary_helpers) - size += (*rtems_malloc_boundary_helpers->overhead)(); - #endif - /* * Try to give a segment in the current heap if there is not * enough space then try to grow the heap. @@ -93,14 +84,6 @@ void *malloc( if ( rtems_malloc_statistics_helpers ) (*rtems_malloc_statistics_helpers->at_malloc)(return_this); - #if defined(RTEMS_MALLOC_BOUNDARY_HELPERS) - /* - * If configured, set the boundary area - */ - if (rtems_malloc_boundary_helpers) - (*rtems_malloc_boundary_helpers->at_malloc)(return_this, size); - #endif - return return_this; } -- cgit v1.2.3