diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-23 20:37:57 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-07 14:22:01 +0100 |
commit | d6e347387198c7e8fac4b4f6f52c3d9624ebafcd (patch) | |
tree | 83ef9596656fa30bd5692a1f09231f0c3f4480d3 | |
parent | rtems: Add rtems_scheduler_get_maximum_priority() (diff) | |
download | rtems-d6e347387198c7e8fac4b4f6f52c3d9624ebafcd.tar.bz2 |
score: Remove dead code
Update #3621.
-rw-r--r-- | cpukit/score/src/objectallocate.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c index 146b5d5976..e09c74c70c 100644 --- a/cpukit/score/src/objectallocate.c +++ b/cpukit/score/src/objectallocate.c @@ -23,12 +23,6 @@ #include <rtems/score/chainimpl.h> #include <rtems/score/sysstate.h> -/* #define RTEMS_DEBUG_OBJECT_ALLOCATION */ - -#if defined(RTEMS_DEBUG_OBJECT_ALLOCATION) -#include <rtems/bspIo.h> -#endif - static Objects_Control *_Objects_Get_inactive( Objects_Information *information ) @@ -85,16 +79,6 @@ Objects_Control *_Objects_Allocate_unprotected( } } -#if defined(RTEMS_DEBUG_OBJECT_ALLOCATION) - if ( !the_object ) { - printk( - "OBJECT ALLOCATION FAILURE! API/Class %d/%d\n", - information->the_api, - information->the_class - ); - } -#endif - return the_object; } |