Changeset c130387 in rtems


Ignore:
Timestamp:
Apr 4, 2016, 7:24:47 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
cd900523
Parents:
88f4157c
git-author:
Sebastian Huber <sebastian.huber@…> (04/04/16 07:24:47)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/06/16 07:08:23)
Message:

score: Delete _Chain_Prepend_with_empty_check()

This function is not used in the score.

Update #2555.

Location:
cpukit
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/rtems/chain.h

    r88f4157c rc130387  
    764764 * @retval false The chain contained at least one node before the prepend.
    765765 */
    766 #if defined( RTEMS_SMP )
    767766bool rtems_chain_prepend_with_empty_check(
    768767  rtems_chain_control *chain,
    769768  rtems_chain_node *node
    770769);
    771 #else
    772 RTEMS_INLINE_ROUTINE bool rtems_chain_prepend_with_empty_check(
    773   rtems_chain_control *chain,
    774   rtems_chain_node *node
    775 )
    776 {
    777   return _Chain_Prepend_with_empty_check( chain, node );
    778 }
    779 #endif
    780770
    781771/**
  • cpukit/sapi/src/chainprotected.c

    r88f4157c rc130387  
    105105}
    106106
    107 #if defined( RTEMS_SMP )
    108 
    109107bool rtems_chain_prepend_with_empty_check(
    110108  rtems_chain_control *chain,
     
    121119  return was_empty;
    122120}
     121
     122#if defined( RTEMS_SMP )
    123123
    124124bool rtems_chain_get_with_empty_check(
  • cpukit/score/Makefile.am

    r88f4157c rc130387  
    348348libscore_a_SOURCES += src/chain.c src/chainappend.c \
    349349    src/chainextract.c src/chainget.c src/chaininsert.c \
    350     src/chainprependempty.c src/chaingetempty.c \
     350    src/chaingetempty.c \
    351351    src/chainnodecount.c \
    352352    src/debugisthreaddispatchingallowed.c \
  • cpukit/score/include/rtems/score/chainimpl.h

    r88f4157c rc130387  
    146146
    147147/**
    148  * @brief Prepend a node and check if the chain was empty before.
    149  *
    150  * This routine prepends the_node onto the front of the_chain.
    151  *
    152  * @param[in] the_chain is the chain to be operated upon.
    153  * @param[in] the_node is the node to be prepended.
    154  *
    155  * @note It disables interrupts to ensure the atomicity of the append
    156  * operation.
    157  *
    158  * @retval true The chain was empty before.
    159  * @retval false The chain contained at least one node before.
    160  */
    161 bool _Chain_Prepend_with_empty_check(
    162   Chain_Control *the_chain,
    163   Chain_Node    *the_node
    164 );
    165 
    166 /**
    167148 * @brief Get the first node and check if the chain is empty afterwards.
    168149 *
Note: See TracChangeset for help on using the changeset viewer.