From 8ff5916c2f0b9cc8d62ca99d1422ad7be4cccf27 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 20 Jun 2018 11:13:19 +0200 Subject: stackchk: Remove dead code Update #3459. --- cpukit/libmisc/stackchk/check.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'cpukit/libmisc/stackchk') 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 #include -/* - * 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 #include @@ -425,21 +416,6 @@ static bool Stack_check_Dump_threads_usage( return false; } -/* - * 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 */ -- cgit v1.2.3