summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-22 15:00:21 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-11-22 16:35:07 +0100
commit32b2c83d0025859c8839417d23a8c66fc32bc32a (patch)
tree552c7db125fd8ea64c5cd9f28909f4aebf37872b /cpukit/score/src
parentscore: Add and use <rtems/score/userextimpl.h> (diff)
downloadrtems-32b2c83d0025859c8839417d23a8c66fc32bc32a.tar.bz2
score: Inline _User_extensions_Thread_switch()
The _User_extensions_Thread_switch() function is only used in _Thread_Dispatch().
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/userextthreadswitch.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/cpukit/score/src/userextthreadswitch.c b/cpukit/score/src/userextthreadswitch.c
deleted file mode 100644
index 43d3afe0bd..0000000000
--- a/cpukit/score/src/userextthreadswitch.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * @file
- *
- * @ingroup ScoreUserExt
- *
- * @brief User Extension Handler implementation.
- */
-
-/*
- * COPYRIGHT (c) 1989-2007.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/score/userextimpl.h>
-
-void _User_extensions_Thread_switch (
- Thread_Control *executing,
- Thread_Control *heir
-)
-{
- Chain_Node *the_node;
- User_extensions_Switch_control *the_extension_switch;
-
- for ( the_node = _Chain_First( &_User_extensions_Switches_list );
- !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
- the_node = the_node->next ) {
-
- the_extension_switch = (User_extensions_Switch_control *) the_node;
-
- (*the_extension_switch->thread_switch)( executing, heir );
- }
-}