diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-20 11:13:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-20 12:07:07 +0200 |
commit | 8ff5916c2f0b9cc8d62ca99d1422ad7be4cccf27 (patch) | |
tree | 2d663f7c657e87cbc203114fb42b4e1dc7c1500b /cpukit/libmisc | |
parent | config: SMP only CONFIGURE_MAXIMUM_PROCESSORS (diff) | |
download | rtems-8ff5916c2f0b9cc8d62ca99d1422ad7be4cccf27.tar.bz2 |
stackchk: Remove dead code
Update #3459.
Diffstat (limited to 'cpukit/libmisc')
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index d19fef4dcf..4643e7601a 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -27,15 +27,6 @@ #include <rtems.h> #include <inttypes.h> -/* - * The stack dump information may be printed by a "fatal" extension. - * Fatal extensions only get called via rtems_fatal_error_occurred() - * and not when rtems_shutdown_executive() is called. - * When that happens, this #define should be deleted and all the code - * it marks. - */ -#define DONT_USE_FATAL_EXTENSION - #include <string.h> #include <stdlib.h> @@ -426,21 +417,6 @@ static bool Stack_check_Dump_threads_usage( } /* - * rtems_stack_checker_fatal_extension - */ -#ifndef DONT_USE_FATAL_EXTENSION - void rtems_stack_checker_fatal_extension( - Internal_errors_Source source, - bool always_set_to_false, - uint32_t status - ) - { - if (status == 0) - rtems_stack_checker_report_usage(); - } -#endif - -/* * rtems_stack_checker_report_usage */ |