summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/stackallocatorinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/stackallocatorinit.c')
-rw-r--r--cpukit/score/src/stackallocatorinit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpukit/score/src/stackallocatorinit.c b/cpukit/score/src/stackallocatorinit.c
index 60d243631f..412e3142b3 100644
--- a/cpukit/score/src/stackallocatorinit.c
+++ b/cpukit/score/src/stackallocatorinit.c
@@ -38,20 +38,12 @@
#endif
#include <rtems/score/stack.h>
-#include <rtems/score/interr.h>
#include <rtems/config.h>
void _Stack_Allocator_do_initialize( void )
{
rtems_stack_allocate_init_hook init_hook;
- if (
- rtems_configuration_get_stack_allocate_hook() == NULL
- || rtems_configuration_get_stack_free_hook() == NULL
- ) {
- _Internal_error( INTERNAL_ERROR_BAD_STACK_HOOK );
- }
-
init_hook = rtems_configuration_get_stack_allocate_init_hook();
if ( init_hook != NULL ) {