[rtems commit] score: Remove dead code
Sebastian Huber
sebh at rtems.org
Fri Dec 7 13:33:23 UTC 2018
Module: rtems
Branch: master
Commit: d6e347387198c7e8fac4b4f6f52c3d9624ebafcd
Changeset: http://git.rtems.org/rtems/commit/?id=d6e347387198c7e8fac4b4f6f52c3d9624ebafcd
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 23 20:37:57 2018 +0100
score: Remove dead code
Update #3621.
---
cpukit/score/src/objectallocate.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/cpukit/score/src/objectallocate.c b/cpukit/score/src/objectallocate.c
index 146b5d5..e09c74c 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;
}
More information about the vc
mailing list