summaryrefslogtreecommitdiff
path: root/schedsim/shell/shared/main_semobtain.c
diff options
context:
space:
mode:
Diffstat (limited to 'schedsim/shell/shared/main_semobtain.c')
-rw-r--r--schedsim/shell/shared/main_semobtain.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/schedsim/shell/shared/main_semobtain.c b/schedsim/shell/shared/main_semobtain.c
index 5033ba5..a9e05d0 100644
--- a/schedsim/shell/shared/main_semobtain.c
+++ b/schedsim/shell/shared/main_semobtain.c
@@ -22,16 +22,6 @@
#include <rtems/error.h>
#include <rtems/score/threaddispatch.h>
-static Thread_Control *get_thread_executing(void)
-{
- Thread_Control *e;
-
- _Thread_Disable_dispatch();
- e = _Thread_Executing;
- _Thread_Enable_dispatch();
- return e;
-}
-
int rtems_shell_main_semaphore_obtain(
int argc,
char *argv[]