diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-04 09:36:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-06 09:08:24 +0200 |
commit | 3bf2bcc8c630aa68ad869bbe44197d8cc2370c72 (patch) | |
tree | 92f2f0fad2c19ace9c67bc1cf675905b9172bd5e /cpukit/sapi | |
parent | score: Delete _Chain_Extract() (diff) | |
download | rtems-3bf2bcc8c630aa68ad869bbe44197d8cc2370c72.tar.bz2 |
score: Delete _Chain_Get()
This function is not used in the score.
Update #2555.
Diffstat (limited to 'cpukit/sapi')
-rw-r--r-- | cpukit/sapi/include/rtems/chain.h | 9 | ||||
-rw-r--r-- | cpukit/sapi/src/chainprotected.c | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/cpukit/sapi/include/rtems/chain.h b/cpukit/sapi/include/rtems/chain.h index 4bbdd530f6..d9254449e1 100644 --- a/cpukit/sapi/include/rtems/chain.h +++ b/cpukit/sapi/include/rtems/chain.h @@ -591,18 +591,9 @@ RTEMS_INLINE_ROUTINE void rtems_chain_extract_unprotected( * * NOTE: It disables interrupts to ensure the atomicity of the get operation. */ -#if defined( RTEMS_SMP ) rtems_chain_node *rtems_chain_get( rtems_chain_control *the_chain ); -#else -RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get( - rtems_chain_control *the_chain -) -{ - return _Chain_Get( the_chain ); -} -#endif /** * @brief See _Chain_Get_unprotected(). diff --git a/cpukit/sapi/src/chainprotected.c b/cpukit/sapi/src/chainprotected.c index e3ae7fd21f..01356665a6 100644 --- a/cpukit/sapi/src/chainprotected.c +++ b/cpukit/sapi/src/chainprotected.c @@ -40,8 +40,6 @@ void rtems_chain_extract( rtems_chain_node *node ) chain_release( &lock_context ); } -#if defined( RTEMS_SMP ) - rtems_chain_node *rtems_chain_get( rtems_chain_control *chain ) { rtems_chain_node *node; @@ -54,8 +52,6 @@ rtems_chain_node *rtems_chain_get( rtems_chain_control *chain ) return node; } -#endif /* defined( RTEMS_SMP ) */ - void rtems_chain_insert( rtems_chain_node *after_node, rtems_chain_node *node ) { rtems_interrupt_lock_context lock_context; |