score: Remove dead code

Update #3621.
This commit is contained in:
Sebastian Huber
2018-11-23 20:37:57 +01:00
parent 7ee64376ef
commit d6e3473871

View File

@@ -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;
}