[rtems commit] sapi: Simplify confdefs.h

Sebastian Huber sebh at rtems.org
Wed May 27 08:02:38 UTC 2015


Module:    rtems
Branch:    master
Commit:    67901a826556ecc86ccdcb4e65c88347ed91a810
Changeset: http://git.rtems.org/rtems/commit/?id=67901a826556ecc86ccdcb4e65c88347ed91a810

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed May 27 08:55:51 2015 +0200

sapi: Simplify confdefs.h

The _Configure_From_workspace() already takes care that zero size
allocations contribute nothing to the workspace size estimate.

---

 cpukit/sapi/include/confdefs.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 9f3640b..9e66357 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -2962,7 +2962,6 @@ const rtems_libio_helper rtems_fs_init_helper =
     _Configure_Object_RAM(_tasks, sizeof(Configuration_Thread_control)) \
       + _Configure_Max_Objects(_number_FP_tasks) \
         * _Configure_From_workspace(CONTEXT_FP_SIZE) \
-        * (CONTEXT_FP_SIZE != 0) \
   )
 
 /**




More information about the vc mailing list